view: Fix multi-character compose sequences

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Quentin Glidic 2016-03-07 18:10:17 +01:00
parent f21195dc14
commit abe44475fc
2 changed files with 4 additions and 4 deletions

View File

@ -1317,7 +1317,7 @@ static void rofi_view_mainloop_iter ( RofiViewState *state, xcb_generic_event_t
case XKB_COMPOSE_NOTHING: case XKB_COMPOSE_NOTHING:
break; break;
} }
if ( key == XKB_KEY_NoSymbol ) { if ( ( key == XKB_KEY_NoSymbol ) && ( len == 0 ) ) {
break; break;
} }
} }