Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2012 21:52:49 -0500
From:      Brandon Gooch <jamesbrandongooch@gmail.com>
To:        x11@freebsd.org
Cc:        inkandreas@web.de, alan.coopersmith@oracle.com, jeremyhu@apple.com, yann@droneaud.fr
Subject:   Xorg 7.7 no drop shadows with xcompmgr 1.1.6
Message-ID:  <CALBk6yLVrNcC%2BC3iYQNT7Qc8%2BLQAxZBvBhMkH302ZYQL2HMQUg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALBk6yLVrNcC%2BC3iYQNT7Qc8%2BLQAxZBvBhMkH302ZYQL2HMQUg>