dix: Ignore focus for passive grabs if the event is a pointer event.
This commit is contained in:
parent
6faf5b97b9
commit
755f9e5d78
|
@ -3546,7 +3546,7 @@ CheckDeviceGrabs(DeviceIntPtr device, xEvent *xE,
|
|||
{
|
||||
int i;
|
||||
WindowPtr pWin = NULL;
|
||||
FocusClassPtr focus = device->focus;
|
||||
FocusClassPtr focus = IsPointerEvent(xE) ? NULL : device->focus;
|
||||
xEvent core;
|
||||
BOOL sendCore = (device->isMaster && device->coreEvents);
|
||||
|
||||
|
|
Loading…
Reference in New Issue