# HG changeset patch # User Xander Ziiryanoff # Date 1465086783 -7200 # Node ID 7d6acea63cbf912fe806f0d2660f5480a16b4453 # Parent b5a01366aa03c63784f899472434de59e52fad66 xcompmgr: add shadows patch diff -r b5a01366aa03 -r 7d6acea63cbf xorg-xcompmgr/receipt --- a/xorg-xcompmgr/receipt Sat Jun 04 18:44:40 2016 +0100 +++ b/xorg-xcompmgr/receipt Sun Jun 05 02:33:03 2016 +0200 @@ -21,6 +21,8 @@ # Rules to configure and make the package. compile_rules() { + # bugs.freedesktop.org/show_bug.cgi?id=46285 + patch -Np0 -i $stuff/46285.diff ./configure \ $CONFIGURE_ARGS && make && make install diff -r b5a01366aa03 -r 7d6acea63cbf xorg-xcompmgr/stuff/46285.diff --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xorg-xcompmgr/stuff/46285.diff Sun Jun 05 02:33:03 2016 +0200 @@ -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;