From 6bc606589a755f2a73b5bbc473f622250ea701b5 Mon Sep 17 00:00:00 2001 From: Reginald Kennedy Date: Sat, 24 Nov 2012 15:34:03 +0800 Subject: [PATCH] Fix bar clock not getting updated during periods of inactivity. --- spectrwm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spectrwm.c b/spectrwm.c index 5f8cc81..606dcbe 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -9467,11 +9467,11 @@ noconfig: if (stdin_ready) { stdin_ready = 0; - if (bar_extra_update()) { - bar_draw(); - xcb_flush(conn); - } + bar_extra_update(); } + + bar_draw(); + xcb_flush(conn); } done: shutdown_cleanup(); -- 2.39.2