aboutsummaryrefslogtreecommitdiff
path: root/src/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render.h')
-rw-r--r--src/render.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/render.h b/src/render.h
index 5d387e6..902763d 100644
--- a/src/render.h
+++ b/src/render.h
@@ -6,6 +6,8 @@
#pragma once
+#include "auth.h"
+
#include <cairo/cairo.h>
#include <cairo-xlib.h>
#include <librsvg/rsvg.h>
@@ -25,12 +27,17 @@ typedef struct {
int canvas_width;
int canvas_height;
+ bool input_allowed;
bool cursor_animating;
double cursor_opacity;
double cursor_fade_direction;
+ bool is_authenticated;
+ const char *password_prompt;
char *password_buffer;
size_t password_buffer_len;
+
+ struct auth_handle_t *auth_handle;
} saver_state_t;
// The purple sidebar