aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index bc28bbf2..9a26e778 100644
--- a/input.c
+++ b/input.c
@@ -450,7 +450,7 @@ maybe_repair_key_combo(const struct seat *seat,
/* Check if key combo’s modifier set intersects */
for (size_t j = 0; j < mod_mask_count; j++) {
- if (!(mod_masks[j] & mods))
+ if ((mod_masks[j] & mods) != mod_masks[j])
continue;
char combo[64] = {0};