miTreeObscured fix for Composite?
Keith Packard
keithp at keithp.com
Sat May 6 14:33:49 PDT 2006
I've got this diff hanging around my tree and I wanted to see if others
thought it was necessary. Remembering that the current Composite
semantic is that visibility relates to potential visibility through
pixel storage rather than actual visibility, I think this is correct.
diff -u -p -r1.8 mivaltree.c
--- mivaltree.c 22 Mar 2006 18:44:26 -0000 1.8
+++ mivaltree.c 28 Mar 2006 06:04:30 -0000
@@ -546,6 +546,9 @@ miTreeObscured(
pChild = pParent;
while (1)
{
+#ifdef COMPOSITE
+ if (!pChild->redirectDraw)
+#endif
if (pChild->viewable)
{
oldVis = pChild->visibility;
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20060506/a991d124/attachment.pgp>
More information about the xorg
mailing list