aboutsummaryrefslogtreecommitdiff
path: root/include/swaylock
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-24 16:30:54 +0200
committerGitHub <noreply@github.com>2018-04-24 16:30:54 +0200
commit5024f0888581cde0a9bc6b86222c14a97890b479 (patch)
tree35941cb448213c81a4956360af05c53537809ff5 /include/swaylock
parent38c44f2f27f218ed7e61c9910491eef78551d8ea (diff)
parent2d884d4e4f8b8e7cac87f8096c0cc31535bd0642 (diff)
Merge pull request #1848 from snaggen/improved_key_handling
Improved key handling in swaylock
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,