Fix incorrect behavior when modkey is pressed

This commit is contained in:
Peter Junos 2015-05-20 22:00:06 +02:00
parent 19137a55c3
commit 372d12ee31
1 changed files with 1 additions and 2 deletions

View File

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