commit | a86389ebc14beed353f43cfe79384c2fcd0b1325 | [log] [tgz] |
---|---|---|
author | "Dmitry V. Levin" <ldv@altlinux.org> | Sat Jan 04 11:05:06 2020 -0800 |
committer | "Dmitry V. Levin" <ldv@altlinux.org> | Sat Jan 04 11:05:06 2020 -0800 |
tree | 1a23a916e8e6a03babc32dc05a421eebb5dfd5dc | |
parent | 8d5f91014a533fd261ede94ce2df41661f7113d0 [diff] |
X11_InitKeyboard: do not call XAutoRepeatOn unnecessarily Use XGetKeyboardControl to initialize the current XKeyboardState, and skip XAutoRepeatOn invocation if global_auto_repeat is AutoRepeatModeOn. This fixes SDL2 when the X11 client is untrusted.