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>
This commit is contained in:
Quentin Glidic 2017-06-22 08:35:20 +02:00
parent 69d32164c9
commit 8f8c43e50d
No known key found for this signature in database
GPG Key ID: AC203F96E2C34BB7
2 changed files with 2 additions and 2 deletions

View File

@ -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 );
}

@ -1 +1 @@
Subproject commit 762b3f8f07472c276889e2600afc114d4ddd20e0
Subproject commit 32f104466442a38929e7758f848eb0d409182484