wok diff xorg-xcompmgr/stuff/46285.diff @ rev 25788

xgalaga: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 26 08:52:14 2024 +0000 (7 weeks ago)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-xcompmgr/stuff/46285.diff	Thu Sep 26 08:52:14 2024 +0000
     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;