dix: Ignore focus for passive grabs if the event is a pointer event.

This commit is contained in:
Peter Hutterer 2008-04-13 16:49:25 +09:30
parent 6faf5b97b9
commit 755f9e5d78

View File

@ -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);