mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 09:51:38 -05:00
Fix toggle_bar not working on empty workspaces.
This commit is contained in:
parent
0bb9612bb2
commit
1ddfc76bfe
1 changed files with 1 additions and 1 deletions
|
@ -2178,7 +2178,7 @@ bar_draw(void)
|
|||
if (r->bar == NULL)
|
||||
continue;
|
||||
|
||||
if (r->ws->bar_enabled)
|
||||
if (bar_enabled && r->ws->bar_enabled)
|
||||
xcb_map_window(conn, r->bar->id);
|
||||
else {
|
||||
xcb_unmap_window(conn, r->bar->id);
|
||||
|
|
Loading…
Add table
Reference in a new issue