From b28bb20caae6d7b04b4f99e906b97b5b540c16c2 Mon Sep 17 00:00:00 2001 From: shdown Date: Sat, 21 Mar 2015 19:12:29 +0300 Subject: [PATCH] i3bar: add binding indicator width to workspace buttons width Just to prevent the indicator from being overlapped by the statusline. --- i3bar/src/xcb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/i3bar/src/xcb.c b/i3bar/src/xcb.c index aa24fc22..79ac211d 100644 --- a/i3bar/src/xcb.c +++ b/i3bar/src/xcb.c @@ -1858,6 +1858,7 @@ void draw_bars(bool unhide) { draw_text(binding.name, outputs_walk->buffer, outputs_walk->bargc, i + 5, 3, binding.width); unhide = true; + i += logical_px(10) + binding.width + logical_px(1); } if (!TAILQ_EMPTY(&statusline_head)) { -- 2.39.5