[metacity/gnome-3-24] compositor: fix frame drawing with opacity
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity/gnome-3-24] compositor: fix frame drawing with opacity
- Date: Fri, 24 Mar 2017 11:03:51 +0000 (UTC)
commit cf3e0c1e4306f8f65c38aba3777e8ffec57428d3
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Mar 6 16:42:10 2017 +0200
compositor: fix frame drawing with opacity
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 3f314c8..f07ab15 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]