diff options
Diffstat (limited to 'swaylock/render.c')
-rw-r--r-- | swaylock/render.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/swaylock/render.c b/swaylock/render.c index 2469e60b..79609e96 100644 --- a/swaylock/render.c +++ b/swaylock/render.c | |||
@@ -134,7 +134,6 @@ void render_frame(struct swaylock_surface *surface) { | |||
134 | wl_surface_attach(surface->surface, surface->current_buffer->buffer, 0, 0); | 134 | wl_surface_attach(surface->surface, surface->current_buffer->buffer, 0, 0); |
135 | wl_surface_damage(surface->surface, 0, 0, buffer_width, buffer_height); | 135 | wl_surface_damage(surface->surface, 0, 0, buffer_width, buffer_height); |
136 | wl_surface_commit(surface->surface); | 136 | wl_surface_commit(surface->surface); |
137 | wl_display_roundtrip(state->display); | ||
138 | } | 137 | } |
139 | 138 | ||
140 | void render_frames(struct swaylock_state *state) { | 139 | void render_frames(struct swaylock_state *state) { |