summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorrcaridade145 <[email protected]>2020-08-29 16:52:40 +0100
committerraveit65 <[email protected]>2020-09-05 13:19:54 +0200
commit0c2baf71f18f39058edc8459990da27c4d448d81 (patch)
tree6d142b81c3ed3f5c52bc9393bb81e71b91d11429 /src/ui
parente40d924b127a880ef799564ebaa7329c11a2015f (diff)
downloadmarco-0c2baf71f18f39058edc8459990da27c4d448d81.tar.bz2
marco-0c2baf71f18f39058edc8459990da27c4d448d81.tar.xz
Do not call cairo paint on generate_pixmaps.
Based on Metacity commit https://gitlab.gnome.org/GNOME/metacity/-/commit/0b2f5ad0a2f30726ac0dc59aa59f7f513e91c832 Fixes transparent windows.
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/frames.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ui/frames.c b/src/ui/frames.c
index a56d8f93..5f938dff 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -2280,8 +2280,6 @@ generate_pixmap (MetaFrames *frames,
cr = cairo_create (result);
cairo_translate (cr, -rect->x, -rect->y);
- cairo_paint (cr);
-
meta_frames_paint_to_drawable (frames, frame, cr);
cairo_destroy (cr);