event: get keysym ignoring all modifiers
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
3eb14d7c76
commit
ca7af35f8a
6
event.c
6
event.c
|
@ -608,10 +608,8 @@ event_handle_key(void *data __attribute__ ((unused)),
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* get keysym ignoring shift and mod5 */
|
/* get keysym ignoring all modifiers */
|
||||||
xcb_keysym_t keysym =
|
xcb_keysym_t keysym = key_getkeysym(ev->detail, 0);
|
||||||
key_getkeysym(ev->detail,
|
|
||||||
ev->state & ~(XCB_MOD_MASK_SHIFT | XCB_MOD_MASK_5 | XCB_MOD_MASK_LOCK));
|
|
||||||
client_t *c;
|
client_t *c;
|
||||||
if((c = client_getbywin(ev->event)))
|
if((c = client_getbywin(ev->event)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue