diff --git a/event.c b/event.c index b6ff67b4a..ca789907b 100644 --- a/event.c +++ b/event.c @@ -603,8 +603,7 @@ event_handle_key(xcb_key_press_event_t *ev) else { /* get keysym ignoring all modifiers */ - - xkb_keysym_t keysym = xkb_state_key_get_one_sym(globalconf.xkb_state, ev->detail); + xcb_keysym_t keysym = xcb_key_symbols_get_keysym(globalconf.keysyms, ev->detail, 0); client_t *c; if((c = client_getbyframewin(ev->event))) {