]> git.sur5r.net Git - i3/i3/commit - i3bar/src/xcb.c
Only detect clicks within the statusline width. 1683/head
authorIngo Bürk <ingo.buerk@tngtech.com>
Sat, 25 Apr 2015 21:31:56 +0000 (23:31 +0200)
committerIngo Bürk <ingo.buerk@tngtech.com>
Sat, 25 Apr 2015 22:32:18 +0000 (00:32 +0200)
commitbbc66e45f7145fe00a4c76f413f46a645e688d50
tree7bc3f18dc66c9afb799712389c30b5a09d347a5c
parent79d54fc3aee0bd552a084f8d73705a5aecc0e335
Only detect clicks within the statusline width.

If the user clicks on the very top of i3bar above a tray icon, i3bar might
mistakenly trigger the click event for the last status block. This is due to
the fact that the click detection considers the separator width of the block
even though on the last block this is ignored, incorrectly spanning the block's
width partially (or entirely) across the tray area.
i3bar/src/xcb.c