aboutsummaryrefslogtreecommitdiff
path: root/include/swaylock/swaylock.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-14 16:34:22 +0200
committerGitHub <noreply@github.com>2018-10-14 16:34:22 +0200
commit53d90dd6a82205a20c3e97a8a396048588e1b5ef (patch)
tree10f5596fd0d90711af66281c38780c5a1d4d724f /include/swaylock/swaylock.h
parent135f0fc7e7d9435c5f6bd1725b5d3113b23ac991 (diff)
parentc6f153d8f9ad6c961c8dd8e620dc2e8fcb20e7bc (diff)
Merge pull request #2826 from RyanDwyer/common-eventloop
Implement common event loop for swaybar and swaylock
Diffstat (limited to 'include/swaylock/swaylock.h')
-rw-r--r--include/swaylock/swaylock.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/swaylock/swaylock.h b/include/swaylock/swaylock.h
index fbdd42a8..25b41a71 100644
--- a/include/swaylock/swaylock.h
+++ b/include/swaylock/swaylock.h
@@ -54,6 +54,10 @@ struct swaylock_password {
};
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;