mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-28 05:35:52 +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