mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
dix: remove some superfluous lines in ProcChangeActivePointerGrab.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user