sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 3553fa0a74a715086086024203e7541a9f93d8b7
parent 03af90d302e6a619db6a1f0c479995a81f301e13
Author: Drew DeVault <sir@cmpwn.com>
Date:   Wed,  9 Aug 2017 18:42:22 -0400

One more

Diffstat:
Msway/handlers.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sway/handlers.c b/sway/handlers.c @@ -806,11 +806,11 @@ static bool handle_key(wlc_handle view, uint32_t time, const struct wlc_modifier struct sway_binding *binding = mode->bindings->items[i]; if ((modifiers->mods ^ binding->modifiers) == 0) { switch (state) { - case WLC_KEY_STATE_PRESSED: { + case WLC_KEY_STATE_PRESSED: if (!binding->release && valid_bindsym(binding)) { list_add(candidates, binding); } - } + break; case WLC_KEY_STATE_RELEASED: if (binding->release && handle_bindsym_release(binding)) { list_free(candidates);