From 1dfbe40999d9779e27a9810e1594ad79eff938cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= Date: Tue, 9 Aug 2016 22:41:45 +0300 Subject: frames: use cairo_push_group in meta_frames_get_mask --- src/ui/frames.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ui/frames.c b/src/ui/frames.c index 1f4b575e..497e8854 100644 --- a/src/ui/frames.c +++ b/src/ui/frames.c @@ -2427,7 +2427,12 @@ meta_frames_get_mask (MetaFrames *frames, if (frame == NULL) return; + cairo_push_group (cr); + meta_frames_paint (frames, frame, cr); + + cairo_pop_group_to_source (cr); + cairo_paint (cr); } /* XXX -- this is disgusting. Find a better approach here. -- cgit v1.2.1