From a5a9afcf2e9a7a93db0565ce83597673853d1d5c Mon Sep 17 00:00:00 2001 From: Axel Wagner Date: Sat, 19 Mar 2011 23:28:10 +0100 Subject: [PATCH] Bugfix: Skip inactive outputs, when unmapping --- i3bar/src/xcb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/i3bar/src/xcb.c b/i3bar/src/xcb.c index dbf681ad..66bcf93b 100644 --- a/i3bar/src/xcb.c +++ b/i3bar/src/xcb.c @@ -205,6 +205,9 @@ void hide_bars() { i3_output *walk; SLIST_FOREACH(walk, outputs, slist) { + if (!walk->active) { + continue; + } xcb_unmap_window(xcb_connection, walk->bar); } stop_child(); -- 2.39.5