Bugfix: Skip inactive outputs, when unmapping

This commit is contained in:
Axel Wagner 2011-03-19 23:28:10 +01:00
parent 682458f4d7
commit 16f7574851
1 changed files with 3 additions and 0 deletions

View File

@ -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();