summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/swaylock.h1
-rw-r--r--render.c7
2 files changed, 0 insertions, 8 deletions
diff --git a/include/swaylock.h b/include/swaylock.h
index b6daffc..da6e3e9 100644
--- a/include/swaylock.h
+++ b/include/swaylock.h
@@ -126,7 +126,6 @@ void swaylock_handle_key(struct swaylock_state *state,
xkb_keysym_t keysym, uint32_t codepoint);
void render_frame_background(struct swaylock_surface *surface);
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 clear_password_buffer(struct swaylock_password *pw);
diff --git a/render.c b/render.c
index 3dec743..6f6f99a 100644
--- a/render.c
+++ b/render.c
@@ -331,10 +331,3 @@ void render_frame(struct swaylock_surface *surface) {
wl_surface_commit(surface->surface);
}
-
-void render_frames(struct swaylock_state *state) {
- struct swaylock_surface *surface;
- wl_list_for_each(surface, &state->surfaces, link) {
- render_frame(surface);
- }
-}