i3 - improved tiling WM


unhide hidden i3bar when mode is active

Patch status: superseded

Patch by jj

Long description:

fixes #961

To apply this patch, use:
curl http://cr.i3wm.org/patch/126/raw.patch | git am

b/i3bar/src/xcb.c

14
@@ -1672,7 +1672,6 @@ void draw_bars(bool unhide) {
15
         }
16
 
17
         if (binding.name) {
18
-
19
             uint32_t fg_color = colors.urgent_ws_fg;
20
             uint32_t bg_color = colors.urgent_ws_bg;
21
             uint32_t mask = XCB_GC_FOREGROUND | XCB_GC_BACKGROUND;
22
@@ -1703,6 +1702,8 @@ void draw_bars(bool unhide) {
23
 
24
             set_font_colors(outputs_walk->bargc, fg_color, bg_color);
25
             draw_text(binding.name, outputs_walk->buffer, outputs_walk->bargc, i + 5, 3, binding.width);
26
+
27
+            unhide = true;
28
         }
29
 
30
         i = 0;