aboutsummaryrefslogtreecommitdiff
path: root/include/swaylock/swaylock.h
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-10-13 16:56:35 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-10-15 00:26:27 +1000
commitfa11b7f7012d153ba9728fe718ffc1a2650d6e98 (patch)
tree08cc24e1471e707ea104f605a9cf7f47b72d81e0 /include/swaylock/swaylock.h
parentc242712262c5cb751fc0f89050a7f7a24433b105 (diff)
swaylock: clear password after 10 seconds
Diffstat (limited to 'include/swaylock/swaylock.h')
-rw-r--r--include/swaylock/swaylock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/swaylock/swaylock.h b/include/swaylock/swaylock.h
index 792d34cf..ae042c4f 100644
--- a/include/swaylock/swaylock.h
+++ b/include/swaylock/swaylock.h
@@ -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;