aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--swaybar/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/render.c b/swaybar/render.c
index efd3fdeb..2ebd338e 100644
--- a/swaybar/render.c
+++ b/swaybar/render.c
@@ -497,7 +497,7 @@ void render_frame(struct swaybar *bar, struct swaybar_output *output) {
497 // different height than what we asked for 497 // different height than what we asked for
498 wl_surface_commit(output->surface); 498 wl_surface_commit(output->surface);
499 wl_display_roundtrip(bar->display); 499 wl_display_roundtrip(bar->display);
500 } else { 500 } else if (height > 0) {
501 // Replay recording into shm and send it off 501 // Replay recording into shm and send it off
502 output->current_buffer = get_next_buffer(bar->shm, 502 output->current_buffer = get_next_buffer(bar->shm,
503 output->buffers, 503 output->buffers,