From 0c2baf71f18f39058edc8459990da27c4d448d81 Mon Sep 17 00:00:00 2001 From: rcaridade145 Date: Sat, 29 Aug 2020 16:52:40 +0100 Subject: Do not call cairo paint on generate_pixmaps. Based on Metacity commit https://gitlab.gnome.org/GNOME/metacity/-/commit/0b2f5ad0a2f30726ac0dc59aa59f7f513e91c832 Fixes transparent windows. --- src/ui/frames.c | 2 -- 1 file changed, 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); -- cgit v1.2.1