We would accidentally store they keycode 0 for unknown keysyms, wedging the lookup table.tags/v1.8.90
@@ -403,7 +403,7 @@ public: | |||
keycode = codeMap[xtcode]; | |||
if (!keycode) { | |||
if (!down || (pressedKeys.find(keysym) != pressedKeys.end())) | |||
if (pressedKeys.find(keysym) != pressedKeys.end()) | |||
keycode = pressedKeys[keysym]; | |||
else { | |||
// XKeysymToKeycode() doesn't respect state, so we have to use |