Orestis Floros
dc0337d2e5
Reset B_UPON_KEYRELEASE_IGNORE_MODS bindings when switching modes
...
With example config:
mode "a_mode" {
bindcode 27 --release mode "default"
}
bindsym $mod+r mode "a_mode"
The first time $mod+r is pressed "a_mode" is activated like normal. When
r (bindcode 27) is pressed to exit the mode:
- On the KeyPress event the corresponding bind->release is correctly
marked as B_UPON_KEYRELEASE_IGNORE_MODS.
- On the KeyRelease event the command 'mode "default"' is executed but
bind->release is still B_UPON_KEYRELEASE_IGNORE_MODS since they are only
reset on KeyPress events.
The second time $mod+r is pressed and "a_mode" is activated and when the
r key is released the 'mode "default"' is executed even though the mods
are not matching since bind->release == B_UPON_KEYRELEASE_IGNORE_MODS.
This still doesn't catch 2 cases:
1. When the order is: press $mod -> press r -> release $mod -> release
r. Since 'r' is released without any modifiers the binding matches.
2. With:
mode "resize" {
bindsym --release r mode "default"
}
bindsym r mode "resize"
This is arguably correct: on the KeyPress event we switch to the mode and
on the KeyRelease we switch back.
2018-03-20 04:09:34 +02:00
..
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-12-11 19:14:33 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-12-27 09:24:34 +01:00
2017-09-24 10:19:50 +02:00
2017-09-30 11:41:57 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2018-03-15 21:33:45 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-12-27 09:24:34 +01:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-10-14 12:27:32 +03:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-12-09 19:50:43 +02:00
2017-09-24 10:19:50 +02:00
2017-12-27 09:24:34 +01:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-12-27 09:24:34 +01:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-12-27 09:24:35 +01:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-30 11:41:57 +02:00
2017-09-24 10:19:50 +02:00
2018-03-11 12:17:42 +08:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-30 11:41:57 +02:00
2017-12-11 19:14:33 +02:00
2017-11-26 18:07:02 +01:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-10-23 21:04:20 +02:00
2017-09-30 11:41:57 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-30 11:41:57 +02:00
2017-09-24 10:19:50 +02:00
2017-09-30 11:41:57 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-30 11:41:57 +02:00
2018-03-15 21:33:45 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-30 11:41:57 +02:00
2017-09-24 10:19:50 +02:00
2018-03-15 21:33:45 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2018-03-15 21:33:45 +02:00
2017-09-24 10:19:50 +02:00
2018-03-15 21:33:45 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-12-27 09:24:34 +01:00
2018-03-15 21:33:45 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-30 11:41:57 +02:00
2018-03-20 04:09:34 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-30 11:41:57 +02:00
2017-09-24 10:19:50 +02:00
2017-09-30 11:41:57 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-10-05 13:03:33 -07:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-30 11:41:57 +02:00
2017-09-30 11:41:57 +02:00
2017-09-30 11:41:57 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-30 11:28:20 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-10-05 13:03:33 -07:00
2017-09-30 11:41:57 +02:00
2017-12-11 19:14:33 +02:00
2017-09-24 10:19:50 +02:00
2018-01-14 15:45:33 +02:00
2017-12-10 21:37:43 +02:00
2018-02-26 23:08:57 +02:00
2018-02-13 12:00:56 +08:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-12-27 09:24:34 +01:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2018-02-26 23:08:57 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-30 11:41:57 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-30 11:41:57 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-12-08 12:16:22 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2018-03-15 21:33:45 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-24 10:19:50 +02:00
2017-09-22 23:40:41 +00:00
2017-11-28 23:29:47 -08:00
2018-01-08 23:25:08 +01:00