swaylock: clear password after 10 seconds

This commit is contained in:
Ryan Dwyer 2018-10-13 16:56:35 +10:00
parent c242712262
commit fa11b7f701
2 changed files with 22 additions and 0 deletions

View file

@ -56,6 +56,7 @@ struct swaylock_password {
struct swaylock_state {
struct loop *eventloop;
struct loop_event *clear_indicator_timer; // clears the indicator
struct loop_event *clear_password_timer; // clears the password buffer
struct wl_display *display;
struct wl_compositor *compositor;
struct zwlr_layer_shell_v1 *layer_shell;