]> git.sur5r.net Git - i3/i3/commit
i3bar: Fix pixel offset calculation in dual-head
authorThomas Adam <thomas@xteddy.org>
Sun, 12 May 2013 16:49:23 +0000 (17:49 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 20 May 2013 13:09:15 +0000 (15:09 +0200)
commited1d13b0a1c97a5c327a5aa82713e6636e1ffa06
tree3235f651dd34d9e213be88fec2ca24b0cac226c8
parentdc522b630cac66ff16cfdd6dab466a8c60c858dd
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.
i3bar/src/xcb.c