wok-6.x diff xorg-xcompmgr/stuff/46285.diff @ rev 25407

updated wayland and wayland-dev (1.4.0 -> 1.21.0)
author Hans-G?nter Theisgen
date Wed Aug 03 16:34:53 2022 +0100 (2022-08-03)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-xcompmgr/stuff/46285.diff	Wed Aug 03 16:34:53 2022 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +--- xcompmgr.c	2011-11-19 01:49:52.000000000 -0600
     1.5 ++++ 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;