From: Reginald Kennedy Date: Thu, 6 Sep 2012 10:58:54 +0000 (+0800) Subject: Change bar_toggle_ws to enable overall visibility of bars when needed. X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;ds=inline;h=3facef670188a80de6984ca186e5d28385ec9e68;p=spectrwm.git Change bar_toggle_ws to enable overall visibility of bars when needed. --- diff --git a/spectrwm.c b/spectrwm.c index af2fe15..1f092e9 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -2249,6 +2249,8 @@ bar_toggle(struct swm_region *r, union arg *args) /* Only change if master switch is enabled. */ if (bar_enabled) r->ws->bar_enabled = !r->ws->bar_enabled; + else + bar_enabled = r->ws->bar_enabled = 1; break; case SWM_ARG_ID_BAR_TOGGLE: bar_enabled = !bar_enabled;