Fix K_RCTRL handling.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2002-08-08 05:53:58 +00:00
parent cbde41c669
commit 30012cc753

View file

@ -321,7 +321,7 @@ XLateKey (XKeyEvent * ev, int *k, int *u)
key = QFK_LCTRL; key = QFK_LCTRL;
break; break;
case XK_Control_R: case XK_Control_R:
key = QFK_LCTRL; key = QFK_RCTRL;
break; break;
case XK_Mode_switch: case XK_Mode_switch:
@ -349,6 +349,7 @@ XLateKey (XKeyEvent * ev, int *k, int *u)
case XK_Caps_Lock: case XK_Caps_Lock:
key = QFK_CAPSLOCK; key = QFK_CAPSLOCK;
break; break;
case XK_KP_Begin: case XK_KP_Begin:
key = QFK_KP5; key = QFK_KP5;
break; break;