summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrcaridade145 <[email protected]>2020-08-29 16:52:40 +0100
committerraveit65 <[email protected]>2020-09-05 13:22:39 +0200
commit17b7c90b471ab049c3860a0fcfcd8aa9580467e7 (patch)
treeb25e3e6b15a501e8789b3ea274af3eb1ae55a9f2
parent620f08c925c188a4c1eb7ccee21679be09376b85 (diff)
downloadmarco-17b7c90b471ab049c3860a0fcfcd8aa9580467e7.tar.bz2
marco-17b7c90b471ab049c3860a0fcfcd8aa9580467e7.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.
-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 e70480a6..88c57cc7 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -2282,8 +2282,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);