Remove redundant function render_frames()
This commit is contained in:
parent
03b75eaf44
commit
06d22a8dea
@ -126,7 +126,6 @@ void swaylock_handle_key(struct swaylock_state *state,
|
|||||||
xkb_keysym_t keysym, uint32_t codepoint);
|
xkb_keysym_t keysym, uint32_t codepoint);
|
||||||
void render_frame_background(struct swaylock_surface *surface);
|
void render_frame_background(struct swaylock_surface *surface);
|
||||||
void render_frame(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_surface(struct swaylock_surface *surface);
|
||||||
void damage_state(struct swaylock_state *state);
|
void damage_state(struct swaylock_state *state);
|
||||||
void clear_password_buffer(struct swaylock_password *pw);
|
void clear_password_buffer(struct swaylock_password *pw);
|
||||||
|
7
render.c
7
render.c
@ -331,10 +331,3 @@ void render_frame(struct swaylock_surface *surface) {
|
|||||||
|
|
||||||
wl_surface_commit(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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user