dix: count must be 1 if we have an XI2 match.

This fixes events that activated a grab not getting delivered to the client.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2009-05-13 16:54:01 +10:00
parent e083a0d069
commit 5c3e728980

View File

@ -3420,6 +3420,7 @@ CheckPassiveGrabsOnWindow(
"(%d, %d).\n", device->name, event->type, rc); "(%d, %d).\n", device->name, event->type, rc);
continue; continue;
} }
count = 1;
} else } else
{ {
rc = EventToXI((InternalEvent*)event, &xE, &count); rc = EventToXI((InternalEvent*)event, &xE, &count);