mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-22 18:30:06 +01:00
Fix key repeat problem.
Signed-off-by: Kim Woelders <kim@woelders.dk>
This commit is contained in:
parent
606f6dba16
commit
b10c4fe343
1 changed files with 1 additions and 1 deletions
|
|
@ -1161,7 +1161,7 @@ EnqueueEvent(xEvent *xE, DeviceIntPtr device, int count)
|
||||||
#ifdef XKB
|
#ifdef XKB
|
||||||
/* Fix for key repeating bug. */
|
/* Fix for key repeating bug. */
|
||||||
if (device->key != NULL && device->key->xkbInfo != NULL &&
|
if (device->key != NULL && device->key->xkbInfo != NULL &&
|
||||||
xE->u.u.type == KeyRelease)
|
(xE->u.u.type == KeyRelease || xE->u.u.type == DeviceKeyRelease))
|
||||||
AccessXCancelRepeatKey(device->key->xkbInfo, xE->u.u.detail);
|
AccessXCancelRepeatKey(device->key->xkbInfo, xE->u.u.detail);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue