mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-13 02:20:39 +01:00
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 <keithp@keithp.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
05d549d604
commit
728c9570a0
1 changed files with 1 additions and 2 deletions
|
|
@ -1534,13 +1534,12 @@ InjectPointerKeyEvents(DeviceIntPtr dev, int type, int button, int flags,
|
|||
UpdateFromMaster(&events[nevents], lastSlave, DEVCHANGE_POINTER_EVENT,
|
||||
&nevents);
|
||||
miPointerSetWaitForUpdate(pScreen, saveWait);
|
||||
input_unlock();
|
||||
|
||||
for (i = 0; i < nevents; i++)
|
||||
mieqProcessDeviceEvent(ptr, &events[i], NULL);
|
||||
input_unlock();
|
||||
|
||||
FreeEventList(events, GetMaximumEventsNum());
|
||||
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue