From: Michael Stapelberg Date: Mon, 29 Jul 2013 19:49:38 +0000 (+0200) Subject: i3bar: draw workspace buttons at x=0 instead of x=1 X-Git-Tag: 4.6~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3eea370db27d880abd620bd0d17f8f1c8a7eb395;p=i3%2Fi3 i3bar: draw workspace buttons at x=0 instead of x=1 This makes the workspace buttons align with the window borders, which is particularly visible with color configurations like the one in this screenshot: http://i.imgur.com/CH8srF5.png fixes #687 --- diff --git a/i3bar/src/xcb.c b/i3bar/src/xcb.c index 79d55e5c..15c68a08 100644 --- a/i3bar/src/xcb.c +++ b/i3bar/src/xcb.c @@ -1608,7 +1608,7 @@ void reconfig_windows(bool redraw_bars) { */ void draw_bars(bool unhide) { DLOG("Drawing Bars...\n"); - int i = 1; + int i = 0; refresh_statusline(); @@ -1766,7 +1766,7 @@ void draw_bars(bool unhide) { unhide = true; } - i = 1; + i = 0; } /* Assure the bar is hidden/unhidden according to the specified hidden_state and mode */