]> git.sur5r.net Git - i3/i3/commit
Bugfix: Correctly handle mode_switch state bit, more debugging output for states
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 19 May 2009 13:22:50 +0000 (15:22 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 19 May 2009 13:24:17 +0000 (15:24 +0200)
commit7fde55578dfb465d5ccfb9534a24c818aabe6097
tree2e7d9cedf8763560faf88479514cd90ff4e1308d
parent77ab4c0b107e6f7ef0ac016da407509ea2c486e7
Bugfix: Correctly handle mode_switch state bit, more debugging output for states

We abuse (1 << 8) as mode_switch bit, which is in the range of the
filtered state bits (see previous commit). Therefore, we need to
filter first and then check for mode_switch.

Furthermore, we used 0x2 before, which was just wrong. So, use our
bitmask, not the normal one (0x2).
src/handlers.c