Updating branch refs/heads/master
to 6f0327f21bb6a9f000e59ab8c70a111a02da5269 (commit)
from 2d63713f2c6cd259ef151b6ffb8114a02bb9b63b (commit)
commit 6f0327f21bb6a9f000e59ab8c70a111a02da5269
Author: Alistair Buxton <[email protected]>
Date: Sat Nov 16 16:17:51 2013 +0000
Remove unnecessary clipping of the rootPicture
rootPicture is not used until much later when the rootBuffer is copied
back in to it. At this point rootBuffer contains the same clipping
region so it is unnecessary to specify it on rootPicture as well.
src/compositor.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/compositor.c b/src/compositor.c
index b834dc1..40212d6 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1403,9 +1403,6 @@ paint_all (ScreenInfo *screen_info, XserverRegion region)
paint_region = XFixesCreateRegion (dpy, NULL, 0);
XFixesCopyRegion (dpy, paint_region, region);
- /* Set clipping to the given region */
- XFixesSetPictureClipRegion (dpy, screen_info->rootPicture, 0, 0,
paint_region);
-
/*
* Painting from top to bottom, reducing the clipping area at each
iteration.
* Only the opaque windows are painted 1st.
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits