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:
crs 2003-09-03 21:22:25 +00:00
parent 9311250c22
commit a237cbacdb

View File

@ -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;