summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2009-06-02 19:12:41 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2009-06-02 19:12:41 -0700
commitfcd857c8e295ac7a2b0e58d49dc71251ed9d1266 (patch)
treee7c7e8709f759dbd4622d00b9e43ea97a86fdef8
parent09432fa5b1cc8e9a30fb8aa4f8dfcd08c4a91e30 (diff)
Rootless: Use serverClient instead of NullClient
This seems to stop the crash when moving windows.
-rw-r--r--miext/rootless/rootlessWindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miext/rootless/rootlessWindow.c b/miext/rootless/rootlessWindow.c
index 7a4ffa2a0..3787e7e9e 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;