Browse Source

Avoid handle a keysym if the compose state gets cancelled

This is the approach taken by libX11, and feels more consistent.
master
Daniel Otero 10 years ago
parent
commit
9e48c74be1
  1. 2
      i3lock.c

2
i3lock.c

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

Loading…
Cancel
Save