From 2d884d4e4f8b8e7cac87f8096c0cc31535bd0642 Mon Sep 17 00:00:00 2001 From: Mattias Eriksson Date: Fri, 20 Apr 2018 14:46:30 +0200 Subject: Improved key handling in swaylock Make escape clear buffer Add indicator states for ctrl,shift,super et al Add CapsLock indicator --- include/swaylock/seat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/swaylock/seat.h') 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; -- cgit v1.2.3-54-g00ecf