aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Keystroke.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c b/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
index 6346962c8..cc41d557e 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
@@ -394,6 +394,8 @@ static enum nxagentSpecialKeystroke find_keystroke(XKeyEvent *X)
int keysyms_per_keycode_return;
struct nxagentSpecialKeystrokeMap *cur = map;
+ /* FIXME: we do late parsing here, this should be done at startup,
+ not at first keypress! */
parse_keystroke_file();
XlibKeySym *keysym = XGetKeyboardMapping(nxagentDisplay,