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
1 changed files with 3 additions and 0 deletions

View File

@ -98,6 +98,9 @@ CXWindowsKeyMapper::update(Display* display, IKeyState* keyState)
char keys[32]; char keys[32];
XQueryKeymap(display, keys); XQueryKeymap(display, keys);
// save the auto-repeat mask
XGetKeyboardControl(display, &m_keyControl);
// query the pointer to get the keyboard state // query the pointer to get the keyboard state
Window root = DefaultRootWindow(display), window; Window root = DefaultRootWindow(display), window;
int xRoot, yRoot, xWindow, yWindow; int xRoot, yRoot, xWindow, yWindow;