From 0f25245d3db310439041c7dce39ad9a24867a36a Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 5 Jun 2025 13:55:30 -0400 Subject: [PATCH] OMG it actually works! Just some finishing touches. --- src/cthulhu/keybindings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cthulhu/keybindings.py b/src/cthulhu/keybindings.py index 3a2dd05..d85b453 100644 --- a/src/cthulhu/keybindings.py +++ b/src/cthulhu/keybindings.py @@ -520,7 +520,7 @@ class KeyBindings: if keyBinding.matches(keyboardEvent.hw_code, keyboardEvent.modifiers): if event_str.lower() == 'v': logger.info(f"MATCH found! keysym={keyBinding.keysymstring}, desc={keyBinding.handler.description}") - if keyBinding.modifier_mask == keyboardEvent.modifiers and \ + if (keyboardEvent.modifiers & keyBinding.modifier_mask) == keyBinding.modifiers and \ keyBinding.click_count == clickCount: matches.append(keyBinding) # If there's no keysymstring, it's unbound and cannot be