summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-10-13 16:56:35 +1000
committerFurkan Sahin <furkan-dev@proton.me>2018-10-13 16:56:35 +1000
commit3943f56c63bcfa49739f0c69b051b987a113c685 (patch)
tree08cc24e1471e707ea104f605a9cf7f47b72d81e0 /include
parentb766fc598ce8e97f9b2067716f4e16428a02a208 (diff)
swaylock: clear password after 10 seconds
Diffstat (limited to 'include')
-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;