Rootless: Use serverClient instead of NullClient
This seems to stop the crash when moving windows.
(cherry picked from commit fcd857c8e2
)
This commit is contained in:
parent
2429daa7e6
commit
fc24a97a8d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user