i3bar: Fix pixel offset calculation in dual-head

When running i3bar on a dual-head display with workspaces enabled in i3bar's
config, the second monitor wouldn't use a correct x position offset and
would draw its label too close to the screen's edge.  In comparison to the
first monitor, this is inconsistent because that starts with a pixel offset
of 1.
This commit is contained in:
Thomas Adam 2013-05-12 17:49:23 +01:00 committed by Michael Stapelberg
parent dc522b630c
commit ed1d13b0a1
1 changed files with 1 additions and 1 deletions

View File

@ -1715,7 +1715,7 @@ void draw_bars(bool unhide) {
unhide = true;
}
i = 0;
i = 1;
}
if (!mod_pressed) {