xserver: Branch 'xorg-server-1.2-apple'

Jeremy Huddleston jeremyhu at kemper.freedesktop.org
Mon Jan 28 12:23:17 PST 2008


 miext/rootless/rootlessWindow.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 116800279d2ec783c63f43d3902627edde6a4cff
Author: Jeremy Huddleston <jeremy at tifa.local>
Date:   Mon Jan 28 12:18:43 2008 -0800

    Rootless: RootlessEnsureFrame: Added check for !IsRoot
    This was causing an issue with Apple-DRI and was reported here:
    http://trac.macosforge.org/projects/xquartz/ticket/51

diff --git a/miext/rootless/rootlessWindow.c b/miext/rootless/rootlessWindow.c
index 82f54d6..bf0380f 100644
--- a/miext/rootless/rootlessWindow.c
+++ b/miext/rootless/rootlessWindow.c
@@ -473,7 +473,7 @@ RootlessEnsureFrame(WindowPtr pWin)
     if (WINREC(pWin) != NULL)
         return WINREC(pWin);
 
-    if (!IsTopLevel(pWin))
+    if (!IsTopLevel(pWin) && !IsRoot(pWin))
         return NULL;
 
     if (pWin->drawable.class != InputOutput)


More information about the xorg-commit mailing list