Remove redundant function render_frames()

This commit is contained in:
Johan Malm 2022-03-20 21:08:14 +00:00 committed by Simon Ser
parent 03b75eaf44
commit 06d22a8dea
2 changed files with 0 additions and 8 deletions

View File

@ -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);

View File

@ -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);
}
}