Fix incorrect behavior when modkey is pressed
This commit is contained in:
parent
19137a55c3
commit
372d12ee31
3
event.c
3
event.c
|
@ -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)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue