Improved key handling in swaylock

Make escape clear buffer
Add indicator states for ctrl,shift,super et al
Add CapsLock indicator
This commit is contained in:
Mattias Eriksson 2018-04-20 14:46:30 +02:00
parent 38c44f2f27
commit 2d884d4e4f
5 changed files with 49 additions and 1 deletions

View file

@ -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;