wok-next diff xcompmgr/stuff/patches/46285.diff @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents ea3c4b76ea5d
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xcompmgr/stuff/patches/46285.diff	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +--- a/xcompmgr.c	2011-11-19 01:49:52.000000000 -0600
     1.5 ++++ b/xcompmgr.c	2012-08-11 21:58:58.000000000 -0500
     1.6 +@@ -1028,7 +1028,6 @@
     1.7 + 	{
     1.8 + 	    w->borderClip = XFixesCreateRegion (dpy, NULL, 0);
     1.9 + 	    XFixesCopyRegion (dpy, w->borderClip, region);
    1.10 +-	    XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize);
    1.11 + 	}
    1.12 + 	w->prev_trans = t;
    1.13 + 	t = w;
    1.14 +@@ -1080,6 +1079,8 @@
    1.15 + 	if (w->mode == WINDOW_TRANS)
    1.16 + 	{
    1.17 + 	    int	x, y, wid, hei;
    1.18 ++	    XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize);
    1.19 ++	    XFixesSetPictureClipRegion(dpy, rootBuffer, 0, 0, w->borderClip);
    1.20 + #if HAS_NAME_WINDOW_PIXMAP
    1.21 + 	    x = w->a.x;
    1.22 + 	    y = w->a.y;
    1.23 +@@ -1099,6 +1100,8 @@
    1.24 + 	else if (w->mode == WINDOW_ARGB)
    1.25 + 	{
    1.26 + 	    int	x, y, wid, hei;
    1.27 ++	    XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize);
    1.28 ++	    XFixesSetPictureClipRegion(dpy, rootBuffer, 0, 0, w->borderClip);
    1.29 + #if HAS_NAME_WINDOW_PIXMAP
    1.30 + 	    x = w->a.x;
    1.31 + 	    y = w->a.y;