Most shortcuts on macOS are activated with the super (command) key. For now, we should ignore these like we ignore ctrl key modifiers.
@@ -700,7 +700,7 @@ bool EventHandler::focus_previous_element()
constexpr bool should_ignore_keydown_event(u32 code_point, u32 modifiers)
{
- if (modifiers & (KeyModifier::Mod_Ctrl | KeyModifier::Mod_Alt))
+ if (modifiers & (KeyModifier::Mod_Ctrl | KeyModifier::Mod_Alt | KeyModifier::Mod_Super))
return true;
// FIXME: There are probably also keys with non-zero code points that should be filtered out.