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:28:07 +0300 |
commit | fd696d2f060da5bdbf642281f6d29e28626267bc (patch) | |
tree | b0f56e18811ba665cd2ea1c8ba13a9119f05e2e2 | |
parent | a81ec4a93d8458816b29a59f81cdbea98e735234 (diff) | |
download | metacity-fd696d2f060da5bdbf642281f6d29e28626267bc.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 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. |