diff --git a/sway/handlers.c b/sway/handlers.c index b3f03d07..8726a0b2 100644 --- a/sway/handlers.c +++ b/sway/handlers.c @@ -74,7 +74,7 @@ bool handle_key(wlc_handle view, uint32_t time, const struct wlc_modifiers } if (match) { - ret = handle_command(config, binding->command) == 0; + ret = handle_command(config, binding->command) != 0; } } }