]> git.sur5r.net Git - i3/i3/blobdiff - src/bindings.c
Fix --release bindings broken by previous commit
[i3/i3] / src / bindings.c
index 8d54c6ebe30fc5103fd4e841357527304a6b3707..a8b897afdb6ead16c2dc1415102e7c29c630771d 100644 (file)
@@ -274,7 +274,9 @@ static Binding *get_binding(i3_event_state_mask_t state_filtered, bool is_releas
                     break;
                 }
             }
-            if (!found_keycode) {
+            if (!found_keycode &&
+                (bind->release != B_UPON_KEYRELEASE_IGNORE_MODS ||
+                 !is_release)) {
                 continue;
             }
         }