Backed out changeset: c569b6062f5d

This commit is contained in:
Botanic 2013-02-08 03:08:24 -08:00
parent cad71e1551
commit 2067d66b15

View file

@ -566,8 +566,7 @@ bool CUnixEventEmitter::processMessage (XEvent &event, CEventServer *server)
}
else
{
int keysyms_per_keycode_return;
k = (KeySym)XGetKeyboardMapping(_dpy,keyCode,0,&keysyms_per_keycode_return);
k = XKeycodeToKeysym(_dpy, keyCode, 0);
}
// send CEventKeyDown event only if keyCode is defined