summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/swaylock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/swaylock.h b/include/swaylock.h
index 2d38488..e29a99e 100644
--- a/include/swaylock.h
+++ b/include/swaylock.h
@@ -86,6 +86,8 @@ struct swaylock_state {
struct swaylock_args args;
struct swaylock_password password;
struct swaylock_xkb xkb;
+ cairo_surface_t *test_surface;
+ cairo_t *test_cairo; // used to estimate font/text sizes
enum auth_state auth_state;
int failed_attempts;
bool run_display;