Rootless: Use serverClient instead of NullClient
This seems to stop the crash when moving windows. (cherry picked from commit fcd857c8e295ac7a2b0e58d49dc71251ed9d1266)
This commit is contained in:
parent
2429daa7e6
commit
fc24a97a8d
|
@ -139,7 +139,7 @@ void RootlessNativeWindowMoved (WindowPtr pWin) {
|
||||||
mask = CWX | CWY;
|
mask = CWX | CWY;
|
||||||
|
|
||||||
/* pretend we're the owner of the window! */
|
/* 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) {
|
if(err != Success) {
|
||||||
ErrorF("RootlessNativeWindowMoved(): Failed to lookup window: 0x%x\n", (unsigned int)pWin->drawable.id);
|
ErrorF("RootlessNativeWindowMoved(): Failed to lookup window: 0x%x\n", (unsigned int)pWin->drawable.id);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue