diff options
Diffstat (limited to 'src/keys.rs')
-rw-r--r-- | src/keys.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keys.rs b/src/keys.rs index aa84da6..33192e2 100644 --- a/src/keys.rs +++ b/src/keys.rs @@ -95,10 +95,10 @@ impl Keybinds { /// Attempt to run the action for the matching keybind, if it exists. pub fn dispatch(&self, wm: &mut WM<'_>, key: Keysym, modifiers: ModMask) { - debug!("received {key:?}"); + debug!("received {modifiers:?} {key:?}"); if let Some(bind) = self .binds() - .find(|b| b.key == key && modifiers.contains(b.modifiers)) + .find(|b| b.key == key && modifiers == b.modifiers) { debug!("found action"); (bind.action)(wm); |