summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-01-27 13:18:36 +0100
committerKenny Levinsen <kl@kl.wtf>2023-01-28 22:51:38 +0100
commitbe566a2935d12e31a0f7d2df15f294a7c7ed9dce (patch)
tree5be097540a626a08f1224ad301e20410492e45a3 /include
parent6213fa0a7cac6da1a49f340d4999b9f6f9e82a5c (diff)
Wait for the locked event
We were ignoring the locked event. Wait for it instead.
Diffstat (limited to 'include')
-rw-r--r--include/swaylock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/swaylock.h b/include/swaylock.h
index 077fc9a..b9ddda7 100644
--- a/include/swaylock.h
+++ b/include/swaylock.h
@@ -90,7 +90,7 @@ struct swaylock_state {
cairo_t *test_cairo; // used to estimate font/text sizes
enum auth_state auth_state;
int failed_attempts;
- bool run_display;
+ bool run_display, locked;
struct ext_session_lock_manager_v1 *ext_session_lock_manager_v1;
struct ext_session_lock_v1 *ext_session_lock_v1;
};