diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-04-20 14:46:30 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-04-20 14:46:30 +0200 |
| commit | ccf256b28c5728e87a4c376341617f3ad976b119 (patch) | |
| tree | 35941cb448213c81a4956360af05c53537809ff5 /include | |
| parent | cb2cb024bacf53414fd8327fa65ee2e3e21a7ab5 (diff) | |
Improved key handling in swaylock
Make escape clear buffer
Add indicator states for ctrl,shift,super et al
Add CapsLock indicator
Diffstat (limited to 'include')
| -rw-r--r-- | include/swaylock/seat.h | 1 | ||||
| -rw-r--r-- | include/swaylock/swaylock.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/swaylock/seat.h b/include/swaylock/seat.h index 44bc37d5..180ea7a0 100644 --- a/include/swaylock/seat.h +++ b/include/swaylock/seat.h @@ -27,6 +27,7 @@ enum mask { struct swaylock_xkb { uint32_t modifiers; + bool caps_lock; struct xkb_state *state; struct xkb_context *context; struct xkb_keymap *keymap; diff --git a/include/swaylock/swaylock.h b/include/swaylock/swaylock.h index ed9fea19..07b908d7 100644 --- a/include/swaylock/swaylock.h +++ b/include/swaylock/swaylock.h @@ -11,7 +11,9 @@ enum auth_state { AUTH_STATE_IDLE, + AUTH_STATE_CLEAR, AUTH_STATE_INPUT, + AUTH_STATE_INPUT_NOP, AUTH_STATE_BACKSPACE, AUTH_STATE_VALIDATING, AUTH_STATE_INVALID, |
