diff --git a/wmbiff/wmbiff/wmbiff.c b/wmbiff/wmbiff/wmbiff.c index c029f1c..35b1fa8 100644 --- a/wmbiff/wmbiff/wmbiff.c +++ b/wmbiff/wmbiff/wmbiff.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include @@ -1084,7 +1084,7 @@ extern void ProcessPendingEvents(void) break; case KeyPress:{ XKeyPressedEvent *xkpe = (XKeyPressedEvent *) & Event; - KeySym ks = XKeycodeToKeysym(display, xkpe->keycode, 0); + KeySym ks = XkbKeycodeToKeysym(display, xkpe->keycode, 0, 0); if (ks > XK_0 && ks < XK_0 + min(9U, num_mailboxes)) { const char *click_action = mbox[ks - XK_1].action; if (click_action != NULL