mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-04 04:50:33 +01:00
Fixed dixLookupClient to work with client=NullClient as it did in the 1.3 branch
(cherry picked from commite41ccc6470) (cherry picked from commitce5a5f9399)
This commit is contained in:
parent
5ffb6a2fe8
commit
8822110d7d
1 changed files with 2 additions and 1 deletions
|
|
@ -270,7 +270,8 @@ dixLookupClient(ClientPtr *pClient, XID rid, ClientPtr client, Mask access)
|
|||
*pClient = clients[clientIndex];
|
||||
return Success;
|
||||
bad:
|
||||
client->errorValue = rid;
|
||||
if(client)
|
||||
client->errorValue = rid;
|
||||
*pClient = NULL;
|
||||
return rc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue