JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Add xcb_flush after bar_update in main loop.
[spectrwm.git] / spectrwm.c
index 0020f39..c81bb2a 100644 (file)
@@ -279,7 +279,6 @@ volatile sig_atomic_t   restart_wm = 0;
 xcb_timestamp_t                last_event_time = 0;
 int                    outputs = 0;
 int                    other_wm;
-int                    ss_enabled = 0;
 int                    xrandr_support;
 int                    xrandr_eventbase;
 unsigned int           numlockmask = 0;
@@ -6622,9 +6621,10 @@ setconfvalue(char *selector, char *value, int flags)
                setconfspawn("spawn_term", value, 0);
                break;
        case SWM_S_SS_APP:
+               /* No longer needed; leave to not break old conf files. */
                break;
        case SWM_S_SS_ENABLED:
-               ss_enabled = atoi(value);
+               /* No longer needed; leave to not break old conf files. */
                break;
        case SWM_S_STACK_ENABLED:
                stack_enabled = atoi(value);
@@ -9019,6 +9019,7 @@ noconfig:
                if (do_bar_update) {
                        do_bar_update = 0;
                        bar_update();
+                       xcb_flush(conn);
                }
        }
 done: