aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/handlers.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}
}