mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-21 07:10:28 +01:00
xkb: don't do core key repeats, XI only is the path to light.
This commit is contained in:
parent
4fd0885978
commit
2a988ed75b
1 changed files with 2 additions and 3 deletions
|
|
@ -318,9 +318,8 @@ BOOL is_core;
|
|||
|
||||
is_core = (dev == inputInfo.keyboard);
|
||||
key = xkbi->repeatKey;
|
||||
AccessXKeyboardEvent(dev, is_core ? KeyRelease : DeviceKeyRelease, key,
|
||||
True);
|
||||
AccessXKeyboardEvent(dev, is_core ? KeyPress : DeviceKeyPress, key, True);
|
||||
AccessXKeyboardEvent(dev, DeviceKeyRelease, key, True);
|
||||
AccessXKeyboardEvent(dev, DeviceKeyPress, key, True);
|
||||
return xkbi->desc->ctrls->repeat_interval;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue