Xi: fix wrong grabtype from ProcXGrabDevice.
86077f0058ce88ee9b3df5d1ab854eeca43 switched from a boolean to a grabtype enum. ProcXGrabDevice didn't switch with it. PickPointer during an XI grab on a slave device would thus return a wrong (or NULL) device and crash the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
a371a47205
commit
a1d1dd06f8
|
@ -132,7 +132,7 @@ ProcXGrabDevice(ClientPtr client)
|
|||
rc = GrabDevice(client, dev, stuff->other_devices_mode,
|
||||
stuff->this_device_mode, stuff->grabWindow,
|
||||
stuff->ownerEvents, stuff->time,
|
||||
&mask, FALSE, None, None,
|
||||
&mask, GRABTYPE_XI, None, None,
|
||||
&rep.status);
|
||||
|
||||
if (rc != Success)
|
||||
|
|
Loading…
Reference in New Issue
Block a user