mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-27 10:38:48 +03:00
Fixed suppression of auto-repeat for keys that don't auto-repeat.
Had forgotten to query the auto-repeat per-key mask.
This commit is contained in:
parent
9311250c22
commit
a237cbacdb
@ -98,6 +98,9 @@ CXWindowsKeyMapper::update(Display* display, IKeyState* keyState)
|
||||
char keys[32];
|
||||
XQueryKeymap(display, keys);
|
||||
|
||||
// save the auto-repeat mask
|
||||
XGetKeyboardControl(display, &m_keyControl);
|
||||
|
||||
// query the pointer to get the keyboard state
|
||||
Window root = DefaultRootWindow(display), window;
|
||||
int xRoot, yRoot, xWindow, yWindow;
|
||||
|
Loading…
Reference in New Issue
Block a user