dix: remove some superfluous lines in ProcChangeActivePointerGrab.
This commit is contained in:
parent
8a925d201e
commit
cd2ad4c2ed
|
@ -5265,16 +5265,11 @@ ProcChangeActivePointerGrab(ClientPtr client)
|
|||
if (grab && grab->coreGrab && SameClient(grab, client))
|
||||
{
|
||||
device = grabbed;
|
||||
grab = device->deviceGrab.grab;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* nope. no grab on any actual device */
|
||||
if (!grabbed)
|
||||
{
|
||||
device = inputInfo.pointer;
|
||||
grab = inputInfo.pointer->deviceGrab.grab;
|
||||
}
|
||||
}
|
||||
|
||||
if (!grab)
|
||||
|
|
Loading…
Reference in New Issue