Commit 728c9570 authored by Keith Packard's avatar Keith Packard

xkb: Hold input lock across injected key event processing

This makes the code more consistent with other versions of
out-of-queue event processing
Signed-off-by: Keith Packard's avatarKeith Packard <>
Reviewed-by: Peter Hutterer's avatarPeter Hutterer <>
parent 05d549d6
......@@ -1534,13 +1534,12 @@ InjectPointerKeyEvents(DeviceIntPtr dev, int type, int button, int flags,
UpdateFromMaster(&events[nevents], lastSlave, DEVCHANGE_POINTER_EVENT,
miPointerSetWaitForUpdate(pScreen, saveWait);
for (i = 0; i < nevents; i++)
mieqProcessDeviceEvent(ptr, &events[i], NULL);
FreeEventList(events, GetMaximumEventsNum());
static void
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment