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

Jeremy Huddleston jeremyhu at kemper.freedesktop.org
Tue Jun 2 19:13:20 PDT 2009


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

New commits:
commit fcd857c8e295ac7a2b0e58d49dc71251ed9d1266
Author: Jeremy Huddleston <jeremyhu at freedesktop.org>
Date:   Tue Jun 2 19:12:41 2009 -0700

    Rootless: Use serverClient instead of NullClient
    
    This seems to stop the crash when moving windows.

diff --git a/miext/rootless/rootlessWindow.c b/miext/rootless/rootlessWindow.c
index 7a4ffa2..3787e7e 100644
--- a/miext/rootless/rootlessWindow.c
+++ b/miext/rootless/rootlessWindow.c
@@ -139,7 +139,7 @@ void RootlessNativeWindowMoved (WindowPtr pWin) {
     mask = CWX | CWY;
     
     /* pretend we're the owner of the window! */
-    err = dixLookupClient(&pClient, pWin->drawable.id, NullClient, DixUnknownAccess);
+    err = dixLookupClient(&pClient, pWin->drawable.id, serverClient, DixUnknownAccess);
     if(err != Success) {
         ErrorF("RootlessNativeWindowMoved(): Failed to lookup window: 0x%x\n", (unsigned int)pWin->drawable.id);
         return;


More information about the xorg-commit mailing list