]> git.sur5r.net Git - i3/i3/commit
i3bar: handle clicks with negative coordinates (Thanks Julian)
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 10 Jun 2012 19:04:51 +0000 (21:04 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 10 Jun 2012 19:04:51 +0000 (21:04 +0200)
commit599f7cc2a4ad0536759203cbdb03680389ae5e7b
tree8a76d724f53814fd85e6e50de2bb92748e52e5a1
parent3587155c47ea1c70c55ba636b7b98347b18ebe11
i3bar: handle clicks with negative coordinates (Thanks Julian)

This can happen if you move your mouse pointer to the very left of the
screen and then click. For better usability, we handle this edge case
like a click on pixel 0.
i3bar/src/xcb.c