mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 01:48:02 +02:00
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
dbea4c04df
commit
d2eae7c910
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