summaryrefslogtreecommitdiff
path: root/testing/xcompmgr/fix_broken_shadows.diff
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-05 00:02:31 +0000
committerroot <root@rshg054.dnsready.net>2012-09-05 00:02:31 +0000
commitb915a21821423232052e2e48ea14f288b3098c32 (patch)
tree36efd4baf3e66f689f2c7d58d05d0a64fbfcc6e9 /testing/xcompmgr/fix_broken_shadows.diff
parent8b7b4f2e5a808cb0c1226c23469fa57751eba190 (diff)
Wed Sep 5 00:02:30 UTC 2012
Diffstat (limited to 'testing/xcompmgr/fix_broken_shadows.diff')
-rw-r--r--testing/xcompmgr/fix_broken_shadows.diff28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/xcompmgr/fix_broken_shadows.diff b/testing/xcompmgr/fix_broken_shadows.diff
new file mode 100644
index 000000000..39b8ac725
--- /dev/null
+++ b/testing/xcompmgr/fix_broken_shadows.diff
@@ -0,0 +1,28 @@
+--- xcompmgr.c 2011-11-19 01:49:52.000000000 -0600
++++ xcompmgr.c 2012-08-11 21:58:58.000000000 -0500
+@@ -1028,7 +1028,6 @@
+ {
+ w->borderClip = XFixesCreateRegion (dpy, NULL, 0);
+ XFixesCopyRegion (dpy, w->borderClip, region);
+- XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize);
+ }
+ w->prev_trans = t;
+ t = w;
+@@ -1080,6 +1079,8 @@
+ if (w->mode == WINDOW_TRANS)
+ {
+ int x, y, wid, hei;
++ XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize);
++ XFixesSetPictureClipRegion(dpy, rootBuffer, 0, 0, w->borderClip);
+ #if HAS_NAME_WINDOW_PIXMAP
+ x = w->a.x;
+ y = w->a.y;
+@@ -1099,6 +1100,8 @@
+ else if (w->mode == WINDOW_ARGB)
+ {
+ int x, y, wid, hei;
++ XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize);
++ XFixesSetPictureClipRegion(dpy, rootBuffer, 0, 0, w->borderClip);
+ #if HAS_NAME_WINDOW_PIXMAP
+ x = w->a.x;
+ y = w->a.y;