summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-08-09 23:13:39 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-08-09 23:13:39 -0400
commit6f0a1cdcd1c4b77aab062670e5522ebc1e956208 (patch)
treebdcc1153418d053d26b6191d14f848f782d71183
parentDon't override keys if command fails (diff)
downloadsway-6f0a1cdcd1c4b77aab062670e5522ebc1e956208.tar.gz
sway-6f0a1cdcd1c4b77aab062670e5522ebc1e956208.tar.zst
sway-6f0a1cdcd1c4b77aab062670e5522ebc1e956208.zip
Or maybe do the exact opposite of that
-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
74 } 74 }
75 75
76 if (match) { 76 if (match) {
77 ret = handle_command(config, binding->command) == 0; 77 ret = handle_command(config, binding->command) != 0;
78 } 78 }
79 } 79 }
80 } 80 }