Bugfix: Skip inactive outputs, when unmapping
This commit is contained in:
parent
49608121e0
commit
a5a9afcf2e
|
@ -205,6 +205,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