]> git.sur5r.net Git - i3/i3/commit
Bugfix: keypress: Only use the lower 8 bits of the mask so that mouse buttons are...
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 19 May 2009 11:51:03 +0000 (13:51 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 19 May 2009 11:52:23 +0000 (13:52 +0200)
commit5038b3c592f1748f888d8344428936f98ae38041
tree1f5e8fa03e34418430c661ffc71a7d26f4ec41ed
parent1089fb73113c307f448b707dc3eb2c4e8e462068
Bugfix: keypress: Only use the lower 8 bits of the mask so that mouse buttons are filtered out (Thanks Mirko)

Sometimes, when the mouse button gets stuck, state contains the bit for
BUTTON_MASK_1 (or other buttons). We filter them out to continue processing
keys correctly.
src/handlers.c