Bugfix: Skip inactive outputs, when unmapping
This commit is contained in:
parent
682458f4d7
commit
16f7574851
|
@ -206,6 +206,9 @@ void hide_bars() {
|
||||||
|
|
||||||
i3_output *walk;
|
i3_output *walk;
|
||||||
SLIST_FOREACH(walk, outputs, slist) {
|
SLIST_FOREACH(walk, outputs, slist) {
|
||||||
|
if (!walk->active) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
xcb_unmap_window(xcb_connection, walk->bar);
|
xcb_unmap_window(xcb_connection, walk->bar);
|
||||||
}
|
}
|
||||||
stop_child();
|
stop_child();
|
||||||
|
|
Loading…
Reference in New Issue