Blob Blame History Raw
From 17b7c90b471ab049c3860a0fcfcd8aa9580467e7 Mon Sep 17 00:00:00 2001
From: rcaridade145 <rcaridade145@gmail.com>
Date: Sat, 29 Aug 2020 16:52:40 +0100
Subject: [PATCH 1/2] 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 e70480a..88c57cc 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);
-- 
2.26.2