dix: Don't interfere grabs the interfering device is of different type.
A pointer device should be able to send events while the client has a core grab on a keyboard device, and likewise.
This commit is contained in:
parent
02508614b9
commit
b7ee005d32
|
@ -6206,6 +6206,8 @@ IsInterferingGrab(ClientPtr client, DeviceIntPtr dev, xEvent* event)
|
|||
if (it->deviceGrab.grab && SameClient(it->deviceGrab.grab, client)
|
||||
&& !it->deviceGrab.fromPassiveGrab)
|
||||
{
|
||||
if ((IsPointerDevice(it) && IsPointerDevice(dev)) ||
|
||||
(IsKeyboardDevice(it) && IsKeyboardDevice(dev)))
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user