mirror of
https://github.com/vale981/spectrwm
synced 2025-03-04 17:31:40 -05:00
Change bar_toggle_ws to enable overall visibility of bars when needed.
This commit is contained in:
parent
c2a4935a92
commit
3facef6701
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue