diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-06-02 19:12:41 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-06-06 22:23:56 -0700 |
commit | fc24a97a8d022e986082b65b5133701e7273805c (patch) | |
tree | 2eb67a613231ed3b9affcf08b2630a5331cf6bf9 /miext/rootless | |
parent | 2429daa7e6b35a4a8032e1c3736e417a5a9baa07 (diff) |
Rootless: Use serverClient instead of NullClient
This seems to stop the crash when moving windows.
(cherry picked from commit fcd857c8e295ac7a2b0e58d49dc71251ed9d1266)
Diffstat (limited to 'miext/rootless')
-rw-r--r-- | miext/rootless/rootlessWindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miext/rootless/rootlessWindow.c b/miext/rootless/rootlessWindow.c index b173cef70..e273d0e38 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; |