]> code.delx.au - spectrwm/commitdiff
Fix bar clock not getting updated during periods of inactivity.
authorReginald Kennedy <rk@rejii.com>
Sat, 24 Nov 2012 07:34:03 +0000 (15:34 +0800)
committerReginald Kennedy <rk@rejii.com>
Sat, 24 Nov 2012 07:34:05 +0000 (15:34 +0800)
spectrwm.c

index 5f8cc8199a050edc8b95519c7392b44adf40efa7..606dcbe4ed9cfd11c72bfd872e837aa0350f3f74 100644 (file)
@@ -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();