diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2017-03-06 16:42:10 +0200 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2017-03-24 12:58:35 +0200 |
commit | cf3e0c1e4306f8f65c38aba3777e8ffec57428d3 (patch) | |
tree | 18a4ac26b1325e452899634272564a41dcff02e8 | |
parent | b1a742b03b0480cd358071199b8d3ba76ea35509 (diff) | |
download | metacity-cf3e0c1e4306f8f65c38aba3777e8ffec57428d3.tar.gz |
compositor: fix frame drawing with opacity
-rw-r--r-- | src/compositor/meta-compositor-xrender.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compositor/meta-compositor-xrender.c b/src/compositor/meta-compositor-xrender.c index 3f314c87..f07ab15f 100644 --- a/src/compositor/meta-compositor-xrender.c +++ b/src/compositor/meta-compositor-xrender.c @@ -1697,7 +1697,7 @@ paint_windows (MetaScreen *screen, x, y, wid, hei); XRenderComposite (xdisplay, PictOpAdd, cw->picture, - None, root_buffer, 0, 0, 0, 0, + cw->alpha_pict, root_buffer, 0, 0, 0, 0, x, y, wid, hei); } else if (cw->mode == WINDOW_ARGB && cw->mask != None) @@ -1716,7 +1716,7 @@ paint_windows (MetaScreen *screen, x, y, wid, hei); XRenderComposite (xdisplay, PictOpAdd, cw->picture, - None, root_buffer, 0, 0, 0, 0, + cw->alpha_pict, root_buffer, 0, 0, 0, 0, x, y, wid, hei); XFixesIntersectRegion (xdisplay, clip, cw->border_clip, client); |