summaryrefslogtreecommitdiff
path: root/include/swaylock.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-01-17 12:42:13 +0100
committeremersion <contact@emersion.fr>2019-01-17 12:42:13 +0100
commitc77f0eb4ed6af1fad071be0113b3822b96b561aa (patch)
treef5b40b8586eba1b42f904083871667f5df707853 /include/swaylock.h
parent28c0abbc579add426b3d520fc9042d0a376662a8 (diff)
Check password without blocking
Diffstat (limited to 'include/swaylock.h')
-rw-r--r--include/swaylock.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/swaylock.h b/include/swaylock.h
index c33c29f..32ded18 100644
--- a/include/swaylock.h
+++ b/include/swaylock.h
@@ -62,7 +62,6 @@ struct swaylock_state {
struct loop *eventloop;
struct loop_timer *clear_indicator_timer; // clears the indicator
struct loop_timer *clear_password_timer; // clears the password buffer
- struct loop_timer *verify_password_timer;
struct wl_display *display;
struct wl_compositor *compositor;
struct zwlr_layer_shell_v1 *layer_shell;
@@ -110,8 +109,8 @@ void render_frame(struct swaylock_surface *surface);
void render_frames(struct swaylock_state *state);
void damage_surface(struct swaylock_surface *surface);
void damage_state(struct swaylock_state *state);
-bool attempt_password(struct swaylock_password *pw);
void clear_password_buffer(struct swaylock_password *pw);
+void schedule_indicator_clear(struct swaylock_state *state);
void initialize_pw_backend(void);
void run_pw_backend_child(void);