diff --git a/src/miracle_window_management_policy.cpp b/src/miracle_window_management_policy.cpp index 8c1cfcd..de6f6ae 100644 --- a/src/miracle_window_management_policy.cpp +++ b/src/miracle_window_management_policy.cpp @@ -85,7 +85,7 @@ bool MiracleWindowManagementPolicy::handle_keyboard_event(MirKeyboardEvent const auto const scan_code = miral::toolkit::mir_keyboard_event_scan_code(event); auto const modifiers = miral::toolkit::mir_keyboard_event_modifiers(event) & MODIFIER_MASK; - if (action == MirKeyboardAction::mir_keyboard_action_down && (modifiers & mir_input_event_modifier_alt)) + if (action == MirKeyboardAction::mir_keyboard_action_down && (modifiers & mir_input_event_modifier_meta)) { if (scan_code == KEY_ENTER) {