aboutsummaryrefslogtreecommitdiff
path: root/include/swaylock
diff options
context:
space:
mode:
Diffstat (limited to 'include/swaylock')
-rw-r--r--include/swaylock/seat.h1
-rw-r--r--include/swaylock/swaylock.h2
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,