i3bar: add binding indicator width to workspace buttons width

Just to prevent the indicator from being overlapped by the statusline.
next
shdown 2015-03-21 19:12:29 +03:00
parent ccd6ae8eaf
commit b28bb20caa
1 changed files with 1 additions and 0 deletions

View File

@ -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)) {