From 89b5f3f87c8022f2d32c422c3516fca2f1538d69 Mon Sep 17 00:00:00 2001 From: tcmal Date: Tue, 6 Aug 2024 14:39:55 +0100 Subject: Add tags/workspaces --- src/keys.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/keys.rs') 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); -- cgit v1.2.3