Avoid handle a keysym if the compose state gets cancelled

This is the approach taken by libX11, and feels more consistent.
pull/6/head
Daniel Otero 2015-02-12 11:22:58 +01:00
parent 562e824246
commit 9e48c74be1
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ static void handle_key_press(xcb_key_press_event_t *event) {
break;
case XKB_COMPOSE_CANCELLED:
xkb_compose_state_reset(xkb_compose_state);
break;
return;
}
}