bugfix: changing action key from alt to meta

This commit is contained in:
Matthew Kosarek 2024-01-21 10:48:14 -05:00
parent 96eefa2ea9
commit 60aa30cd32

View File

@ -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)
{