dix: set the right grab event type for implicit passive grabs.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
53e821ab4a
commit
9dc3810a03
|
@ -2069,6 +2069,7 @@ DeliverEventsToWindow(DeviceIntPtr pDev, WindowPtr pWin, xEvent
|
|||
tempGrab.pointerMode = GrabModeAsync;
|
||||
tempGrab.confineTo = NullWindow;
|
||||
tempGrab.cursor = NullCursor;
|
||||
tempGrab.type = type;
|
||||
if (type == ButtonPress)
|
||||
tempGrab.grabtype = GRABTYPE_CORE;
|
||||
else if (type == DeviceButtonPress)
|
||||
|
|
Loading…
Reference in New Issue
Block a user