From 60aa30cd32917815234cd27277c205e517fe9d53 Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Sun, 21 Jan 2024 10:48:14 -0500 Subject: [PATCH] bugfix: changing action key from alt to meta --- src/miracle_window_management_policy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {