aboutsummaryrefslogtreecommitdiff
path: root/include/swaylock
diff options
context:
space:
mode:
Diffstat (limited to 'include/swaylock')
-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 950cfaaf..970e3cc9 100644
--- a/include/swaylock/swaylock.h
+++ b/include/swaylock/swaylock.h
@@ -82,6 +82,7 @@ struct swaylock_surface {
bool frame_pending, dirty;
uint32_t width, height;
int32_t scale;
+ enum wl_output_subpixel subpixel;
char *output_name;
struct wl_list link;
};
@@ -100,5 +101,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);
+void initialize_pw_backend(void);
+bool attempt_password(struct swaylock_password *pw);
+void clear_password_buffer(struct swaylock_password *pw);
#endif