JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Replace map_window_raised with map_window function.
[spectrwm.git] / spectrwm.c
index 75c7a6c..71c7d9c 100644 (file)
@@ -2882,6 +2882,10 @@ switchws(struct swm_region *r, union arg *args)
        if (!new_ws->focus)
                bar_update();
 
+       /* make sure bar gets updated if ws is empty */
+       if (!new_ws->focus)
+               bar_update();
+
        focus_flush();
 
        DNPRINTF(SWM_D_WS, "switchws: done.\n");
@@ -7550,6 +7554,7 @@ void
 propertynotify(xcb_property_notify_event_t *e)
 {
        struct ws_win           *win;
+       union arg a;
 #ifdef SWM_DEBUG
        char                    *name;