diff --git a/dix/events.c b/dix/events.c index 1b62db05f..e25ec30cf 100644 --- a/dix/events.c +++ b/dix/events.c @@ -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);