summaryrefslogtreecommitdiffstats
path: root/sway/handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index 096df53c..15fa6521 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -331,7 +331,7 @@ static bool handle_key(wlc_handle view, uint32_t time, const struct wlc_modifier
331 struct sway_binding *binding = mode->bindings->items[i]; 331 struct sway_binding *binding = mode->bindings->items[i];
332 332
333 if ((modifiers->mods ^ binding->modifiers) == 0) { 333 if ((modifiers->mods ^ binding->modifiers) == 0) {
334 bool match; 334 bool match = false;
335 int j; 335 int j;
336 for (j = 0; j < binding->keys->length; ++j) { 336 for (j = 0; j < binding->keys->length; ++j) {
337 xkb_keysym_t *key = binding->keys->items[j]; 337 xkb_keysym_t *key = binding->keys->items[j];