diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-08-09 22:41:45 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-08-10 12:29:15 +0300 |
commit | 1dfbe40999d9779e27a9810e1594ad79eff938cd (patch) | |
tree | a745239ae6e5a3a246f6fa8a586cdaceb6c376b0 | |
parent | b949ae337a0c1442d5d2b6522bff133c5fd40339 (diff) | |
download | metacity-1dfbe40999d9779e27a9810e1594ad79eff938cd.tar.gz |
frames: use cairo_push_group in meta_frames_get_mask
-rw-r--r-- | src/ui/frames.c | 5 |
1 files changed, 5 insertions, 0 deletions
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. |