summaryrefslogtreecommitdiff
path: root/swaylock/password.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2019-01-05 23:45:38 -0500
committerGitHub <[email protected]>2019-01-05 23:45:38 -0500
commit728e5700dd59f392712d51866eff78ed5074d8ef (patch)
treef92e1eb17dd10ed186ce62619c4c7ce3b570ac32 /swaylock/password.c
parent0cc56ebe940f3d74fb405ade7567e0c0e713fbc5 (diff)
parent76cd3f2642127c1b3a02e863d4d4bf9d5dc34d60 (diff)
Merge pull request #3367 from oscarwcl/swaylock-fix-capslock
swaylock: Fix caps lock not updating immediately
Diffstat (limited to 'swaylock/password.c')
-rw-r--r--swaylock/password.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/swaylock/password.c b/swaylock/password.c
index 3059203a..3bd113ad 100644
--- a/swaylock/password.c
+++ b/swaylock/password.c
@@ -146,14 +146,6 @@ void swaylock_handle_key(struct swaylock_state *state,
schedule_indicator_clear(state);
break;
case XKB_KEY_Caps_Lock:
- /* The state is getting active after this
- * so we need to manually toggle it */
- state->xkb.caps_lock = !state->xkb.caps_lock;
- state->auth_state = AUTH_STATE_INPUT_NOP;
- damage_state(state);
- schedule_indicator_clear(state);
- schedule_password_clear(state);
- break;
case XKB_KEY_Shift_L:
case XKB_KEY_Shift_R:
case XKB_KEY_Control_L: