Xorg 7.7 no drop shadows with xcompmgr 1.1.6

Brandon Gooch jamesbrandongooch at gmail.com
Sat Jun 16 02:52:50 UTC 2012


I've been testing Xorg 7.7 on FreeBSD 10 (10-CURRENT).

I've ran into an issue with xcompmgr 1.1.6 regarding the rendering of
"drop shadows".

This call in the code on line 1031 of xcompmgr.c somehow prevents drop
shadows from working:

XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize);

If I comment out the call above, all is well, but I'm nearly certain
that this will somehow break the intended target issue that the
addition of this function call was meant to address (changing X
window/object shapes?).

I've futzed around with variations of this block of code in
xcompmgr.c, but to no avail:

if (!w->borderClip)
{
            w->borderClip = XFixesCreateRegion (dpy, NULL, 0);
            XFixesCopyRegion (dpy, w->borderClip, region);
            XFixesIntersectRegion(dpy, w->borderClip, w->borderClip,
w->borderSize);
}

I've searched and located a report of this from the Linux world:

https://bugs.freedesktop.org/show_bug.cgi?id=46285

Can someone shed some light on what is happening here and further why
this could cause the issue with shadows not displaying?

Thanks!

-Brandon


More information about the freebsd-x11 mailing list