diff --git a/src/bridge/layouts/mod.rs b/src/bridge/layouts/mod.rs index e53e9d0..d1907b8 100644 --- a/src/bridge/layouts/mod.rs +++ b/src/bridge/layouts/mod.rs @@ -70,14 +70,14 @@ fn append_modifiers( special = true; result = format!("S-{}", result); } - if ctrl && !alt { + if ctrl { special = true; result = format!("C-{}", result); } - if alt && !ctrl { + if alt { special = true; result = format!("M-{}", result); - } + } if cfg!(not(target_os = "windows")) && gui { special = true; result = format!("D-{}", result);