# HG changeset patch # User Sam Lantinga # Date 1253586359 0 # Node ID 2bb68bacdc541de3b6dfe8364f9af3f8d280abad # Parent 68ee433ec474501ec02250415e173a8203cdde9f Max correctly pointed out that this will cause unexpected change in application behavior and conflict with binding ctrl-click in some existing applications. diff -r 68ee433ec474 -r 2bb68bacdc54 src/video/quartz/SDL_QuartzEvents.m --- a/src/video/quartz/SDL_QuartzEvents.m Tue Sep 22 02:22:14 2009 +0000 +++ b/src/video/quartz/SDL_QuartzEvents.m Tue Sep 22 02:25:59 2009 +0000 @@ -785,7 +785,7 @@ if ( SDL_getenv("SDL_HAS3BUTTONMOUSE") ) { DO_MOUSE_DOWN (SDL_BUTTON_LEFT); } else { - if ( NSControlKeyMask & current_mods ) { + if ( NSCommandKeyMask & current_mods ) { last_virtual_button = SDL_BUTTON_RIGHT; DO_MOUSE_DOWN (SDL_BUTTON_RIGHT); }