summaryrefslogtreecommitdiffstats
path: root/source/xcb.c
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2017-06-22 08:35:20 +0200
committerQuentin Glidic <sardemff7+git@sardemff7.net>2017-06-22 08:35:21 +0200
commit8f8c43e50d15c614d1c42a5d515c15ff48d65a1b (patch)
tree64d42e3cc874fc671ebbe1289f730c4c3910ce81 /source/xcb.c
parent69d32164c9582970c8acbfbca4a9c8f5271ae4dd (diff)
xcb: Support back some weird X11 feature
Namely, key redirects, that play with the modifiers state at the KEY_PRESS level. Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'source/xcb.c')
-rw-r--r--source/xcb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/xcb.c b/source/xcb.c
index ce5aa158..03af399c 100644
--- a/source/xcb.c
+++ b/source/xcb.c
@@ -699,7 +699,7 @@ static void main_loop_x11_event_handler_view ( xcb_generic_event_t *event )
gchar *text;
xcb->last_timestamp = xkpe->time;
- text = nk_bindings_seat_handle_key ( xcb->bindings_seat, xkpe->detail, NK_BINDINGS_KEY_STATE_PRESS );
+ text = nk_bindings_seat_handle_key_with_modmask ( xcb->bindings_seat, xkpe->state, xkpe->detail, NK_BINDINGS_KEY_STATE_PRESS );
if ( text != NULL ) {
rofi_view_handle_text ( state, text );
}