diff --git a/src/platform_impl/macos/event.rs b/src/platform_impl/macos/event.rs index 2c5fe5a0c4..d92a711e59 100644 --- a/src/platform_impl/macos/event.rs +++ b/src/platform_impl/macos/event.rs @@ -250,11 +250,11 @@ pub(super) fn event_mods(event: &NSEvent) -> ModifiersState { ); m.set( ModifiersState::ALT, - flags.contains(NSEventModifierFlags::NSAlternateKeyMask), + flags.contains(NSEventModifierFlags::NSCommandKeyMask), ); m.set( ModifiersState::LOGO, - flags.contains(NSEventModifierFlags::NSCommandKeyMask), + flags.contains(NSEventModifierFlags::NSAlternateKeyMask), ); m }