summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2016-08-09 22:41:45 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2016-08-10 12:28:07 +0300
commitfd696d2f060da5bdbf642281f6d29e28626267bc (patch)
treeb0f56e18811ba665cd2ea1c8ba13a9119f05e2e2
parenta81ec4a93d8458816b29a59f81cdbea98e735234 (diff)
downloadmetacity-fd696d2f060da5bdbf642281f6d29e28626267bc.tar.gz
frames: use cairo_push_group in meta_frames_get_mask
-rw-r--r--src/ui/frames.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/frames.c b/src/ui/frames.c
index bd5044b9..0963b7f8 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -2210,7 +2210,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.