]> git.sur5r.net Git - i3/i3/blobdiff - i3bar/src/xcb.c
Send the child SIGSTOPs and SIGCONTs
[i3/i3] / i3bar / src / xcb.c
index 9494b389bd3494980477e01b1a210d458951bdb9..f5a5068622e5e8ce29c3f0acca025705db5271c8 100644 (file)
@@ -76,6 +76,7 @@ void hide_bars() {
     SLIST_FOREACH(walk, outputs, slist) {
         xcb_unmap_window(xcb_connection, walk->bar);
     }
+    stop_child();
 }
 
 /*
@@ -89,6 +90,8 @@ void unhide_bars() {
     uint32_t            mask;
     uint32_t            values[4];
 
+    cont_child();
+
     SLIST_FOREACH(walk, outputs, slist) {
         if (walk->bar == XCB_NONE) {
             continue;