dix: Make some LBX-era code more obvious
isItTimeToYield in the conditional effectively didn't do anything here. Take it out, and remove the comment since LBX proxies aren't a thing for us anymore. Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
a317e0a974
commit
71ef49062e
|
@ -3188,13 +3188,11 @@ ProcKillClient(ClientPtr client)
|
|||
rc = dixLookupClient(&killclient, stuff->id, client, DixDestroyAccess);
|
||||
if (rc == Success) {
|
||||
CloseDownClient(killclient);
|
||||
/* if an LBX proxy gets killed, isItTimeToYield will be set */
|
||||
if (isItTimeToYield || (client == killclient)) {
|
||||
if (client == killclient) {
|
||||
/* force yield and return Success, so that Dispatch()
|
||||
* doesn't try to touch client
|
||||
*/
|
||||
isItTimeToYield = TRUE;
|
||||
return Success;
|
||||
}
|
||||
return Success;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user