summaryrefslogtreecommitdiffstats
path: root/include/swaylock/seat.h
diff options
context:
space:
mode:
authorLibravatar Mattias Eriksson <snaggen@mayam.com>2018-04-20 14:46:30 +0200
committerLibravatar Mattias Eriksson <snaggen@mayam.com>2018-04-24 15:40:30 +0200
commit2d884d4e4f8b8e7cac87f8096c0cc31535bd0642 (patch)
tree35941cb448213c81a4956360af05c53537809ff5 /include/swaylock/seat.h
parentMerge pull request #1851 from RyanDwyer/container-descendants-crash (diff)
downloadsway-2d884d4e4f8b8e7cac87f8096c0cc31535bd0642.tar.gz
sway-2d884d4e4f8b8e7cac87f8096c0cc31535bd0642.tar.zst
sway-2d884d4e4f8b8e7cac87f8096c0cc31535bd0642.zip
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/swaylock/seat.h')
-rw-r--r--include/swaylock/seat.h1
1 files changed, 1 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 {
27 27
28struct swaylock_xkb { 28struct swaylock_xkb {
29 uint32_t modifiers; 29 uint32_t modifiers;
30 bool caps_lock;
30 struct xkb_state *state; 31 struct xkb_state *state;
31 struct xkb_context *context; 32 struct xkb_context *context;
32 struct xkb_keymap *keymap; 33 struct xkb_keymap *keymap;