1 src/ecompmgr.c: Repaint translucent windows with shapes correctly.
3 The existing code applied an alpha mask, but didn't clip it to the
4 window's shape properly.
5 Index: build/src/ecompmgr.c
6 ===================================================================
7 --- build.orig/src/ecompmgr.c 2011-06-02 15:16:16.000000000 +0100
8 +++ build/src/ecompmgr.c 2011-06-02 15:16:27.000000000 +0100
10 clip = ECompMgrRepaintObjSetClip(rgn_clip, region, cw->clip, x, y);
11 if (EDebug(EDBUG_TYPE_COMPMGR2))
12 ECompMgrWinDumpInfo("ECompMgrRepaintObj trans", eo, clip, 0);
13 + ERegionIntersect(clip, cw->shape);
14 XFixesSetPictureClipRegion(dpy, pbuf, 0, 0, clip);
15 if (cw->opacity != OPAQUE && !cw->pict_alpha)