i3bar: add binding indicator width to workspace buttons width
Just to prevent the indicator from being overlapped by the statusline.
This commit is contained in:
parent
ccd6ae8eaf
commit
b28bb20caa
|
@ -1858,6 +1858,7 @@ void draw_bars(bool unhide) {
|
||||||
draw_text(binding.name, outputs_walk->buffer, outputs_walk->bargc, i + 5, 3, binding.width);
|
draw_text(binding.name, outputs_walk->buffer, outputs_walk->bargc, i + 5, 3, binding.width);
|
||||||
|
|
||||||
unhide = true;
|
unhide = true;
|
||||||
|
i += logical_px(10) + binding.width + logical_px(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!TAILQ_EMPTY(&statusline_head)) {
|
if (!TAILQ_EMPTY(&statusline_head)) {
|
||||||
|
|
Loading…
Reference in New Issue