wok view xorg-xcompmgr/stuff/46285.diff @ rev 22649

updated djview (4.10.3 -> 4.10.6)
author Hans-G?nter Theisgen
date Tue Jan 14 13:39:45 2020 +0100 (2020-01-14)
parents
children
line source
1 --- xcompmgr.c 2011-11-19 01:49:52.000000000 -0600
2 +++ xcompmgr.c 2012-08-11 21:58:58.000000000 -0500
3 @@ -1028,7 +1028,6 @@
4 {
5 w->borderClip = XFixesCreateRegion (dpy, NULL, 0);
6 XFixesCopyRegion (dpy, w->borderClip, region);
7 - XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize);
8 }
9 w->prev_trans = t;
10 t = w;
11 @@ -1080,6 +1079,8 @@
12 if (w->mode == WINDOW_TRANS)
13 {
14 int x, y, wid, hei;
15 + XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize);
16 + XFixesSetPictureClipRegion(dpy, rootBuffer, 0, 0, w->borderClip);
17 #if HAS_NAME_WINDOW_PIXMAP
18 x = w->a.x;
19 y = w->a.y;
20 @@ -1099,6 +1100,8 @@
21 else if (w->mode == WINDOW_ARGB)
22 {
23 int x, y, wid, hei;
24 + XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize);
25 + XFixesSetPictureClipRegion(dpy, rootBuffer, 0, 0, w->borderClip);
26 #if HAS_NAME_WINDOW_PIXMAP
27 x = w->a.x;
28 y = w->a.y;