mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-06 04:38:08 +02:00
Rootless: Use serverClient instead of NullClient
This seems to stop the crash when moving windows.
This commit is contained in:
parent
09432fa5b1
commit
fcd857c8e2
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue