From 372d12ee316e665107b335b850e93e93e9094b33 Mon Sep 17 00:00:00 2001 From: Peter Junos Date: Wed, 20 May 2015 22:00:06 +0200 Subject: [PATCH] Fix incorrect behavior when modkey is pressed --- event.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/event.c b/event.c index b6ff67b4..ca789907 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))) {