Fixed dixLookupClient to work with client=NullClient as it did in the 1.3 branch
(cherry picked from commit e41ccc64702f856e5e09dfa652fe73c14b8a0225) (cherry picked from commit ce5a5f93990647de85e535734ee6bb430ad591cb)
This commit is contained in:
parent
5ffb6a2fe8
commit
8822110d7d
|
@ -270,7 +270,8 @@ dixLookupClient(ClientPtr *pClient, XID rid, ClientPtr client, Mask access)
|
||||||
*pClient = clients[clientIndex];
|
*pClient = clients[clientIndex];
|
||||||
return Success;
|
return Success;
|
||||||
bad:
|
bad:
|
||||||
client->errorValue = rid;
|
if(client)
|
||||||
|
client->errorValue = rid;
|
||||||
*pClient = NULL;
|
*pClient = NULL;
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue