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 changed files with 1 additions and 1 deletions
  1. +1
    -1
      i3lock.c

+ 1
- 1
i3lock.c 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;
}
}


Loading…
Cancel
Save