aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/input.c b/input.c
index 84a2f2e3..11b46cf6 100644
--- a/input.c
+++ b/input.c
@@ -318,6 +318,8 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
count = xkb_compose_state_get_utf8(
wayl->kbd.xkb_compose_state, (char *)buf, sizeof(buf));
xkb_compose_state_reset(wayl->kbd.xkb_compose_state);
+ } else if (compose_status == XKB_COMPOSE_CANCELLED) {
+ goto maybe_repeat;
} else {
count = xkb_state_key_get_utf8(
wayl->kbd.xkb_state, key, (char *)buf, sizeof(buf));