Fixed bug #637 SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Mon, 21 Sep 2009 11:32:58 +0000
branchSDL-1.2
changeset 4225 6c1d2039b6b4
parent 4224 6637846f3f7f
child 4226 dbdf8b108e31
Fixed bug #637 Switched right click emulation to be Ctrl-click, which matches Mac OS X
src/video/quartz/SDL_QuartzEvents.m
--- a/src/video/quartz/SDL_QuartzEvents.m	Mon Sep 21 11:30:54 2009 +0000
+++ b/src/video/quartz/SDL_QuartzEvents.m	Mon Sep 21 11:32:58 2009 +0000
@@ -785,7 +785,7 @@
                     if ( SDL_getenv("SDL_HAS3BUTTONMOUSE") ) {
                         DO_MOUSE_DOWN (SDL_BUTTON_LEFT);
                     } else {
-                        if ( NSCommandKeyMask & current_mods ) {
+                        if ( NSControlKeyMask & current_mods ) {
                             last_virtual_button = SDL_BUTTON_RIGHT;
                             DO_MOUSE_DOWN (SDL_BUTTON_RIGHT);
                         }