wok-current rev 19189

xcompmgr: add shadows patch
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Jun 05 02:33:03 2016 +0200 (2016-06-05)
parents b5a01366aa03
children cbefd8f517df
files xorg-xcompmgr/receipt xorg-xcompmgr/stuff/46285.diff
line diff
     1.1 --- a/xorg-xcompmgr/receipt	Sat Jun 04 18:44:40 2016 +0100
     1.2 +++ b/xorg-xcompmgr/receipt	Sun Jun 05 02:33:03 2016 +0200
     1.3 @@ -21,6 +21,8 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	# bugs.freedesktop.org/show_bug.cgi?id=46285
     1.8 +	patch -Np0 -i $stuff/46285.diff
     1.9  	./configure \
    1.10  		$CONFIGURE_ARGS &&
    1.11  	make && make install
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xorg-xcompmgr/stuff/46285.diff	Sun Jun 05 02:33:03 2016 +0200
     2.3 @@ -0,0 +1,28 @@
     2.4 +--- xcompmgr.c	2011-11-19 01:49:52.000000000 -0600
     2.5 ++++ xcompmgr.c	2012-08-11 21:58:58.000000000 -0500
     2.6 +@@ -1028,7 +1028,6 @@
     2.7 + 	{
     2.8 + 	    w->borderClip = XFixesCreateRegion (dpy, NULL, 0);
     2.9 + 	    XFixesCopyRegion (dpy, w->borderClip, region);
    2.10 +-	    XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize);
    2.11 + 	}
    2.12 + 	w->prev_trans = t;
    2.13 + 	t = w;
    2.14 +@@ -1080,6 +1079,8 @@
    2.15 + 	if (w->mode == WINDOW_TRANS)
    2.16 + 	{
    2.17 + 	    int	x, y, wid, hei;
    2.18 ++	    XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize);
    2.19 ++	    XFixesSetPictureClipRegion(dpy, rootBuffer, 0, 0, w->borderClip);
    2.20 + #if HAS_NAME_WINDOW_PIXMAP
    2.21 + 	    x = w->a.x;
    2.22 + 	    y = w->a.y;
    2.23 +@@ -1099,6 +1100,8 @@
    2.24 + 	else if (w->mode == WINDOW_ARGB)
    2.25 + 	{
    2.26 + 	    int	x, y, wid, hei;
    2.27 ++	    XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize);
    2.28 ++	    XFixesSetPictureClipRegion(dpy, rootBuffer, 0, 0, w->borderClip);
    2.29 + #if HAS_NAME_WINDOW_PIXMAP
    2.30 + 	    x = w->a.x;
    2.31 + 	    y = w->a.y;