]> git.sur5r.net Git - i3/i3/commit
i3bar: fix click events for workspace buttons with long statusline 1559/head
authorshdown <shdownnine@gmail.com>
Sat, 21 Mar 2015 16:41:38 +0000 (19:41 +0300)
committershdown <shdownnine@gmail.com>
Sat, 21 Mar 2015 16:41:38 +0000 (19:41 +0300)
commitb2309b86816978d99d712d0337116c3bbfdd80c7
tree0ce3005b7741be96ccdee7816aaf3346773e92d6
parentb1c7c7eea4f63062f050d3e65dcc93f6fd406680
i3bar: fix click events for workspace buttons with long statusline

This combines detecting of current and clicked workspaces into one cycle
and then checks if the x coordinate of the clicked point is greater than
the workspace buttons width.
i3bar/src/xcb.c