Skip to content

Commit

Permalink
bugfix: changing action key from alt to meta
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkae committed Jan 21, 2024
1 parent 56189b2 commit 8b5b298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/miracle_window_management_policy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 8b5b298

Please sign in to comment.