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

View file

@ -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)))
{