diff src/video/quartz/SDL_QuartzEvents.m @ 4230:2bb68bacdc54 SDL-1.2

Max correctly pointed out that this will cause unexpected change in application behavior and conflict with binding ctrl-click in some existing applications.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 22 Sep 2009 02:25:59 +0000
parents 6c1d2039b6b4
children 8fc98498e4f0
line wrap: on
line diff
--- 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);
                         }