changeset 4225:6c1d2039b6b4 SDL-1.2

Fixed bug #637 Switched right click emulation to be Ctrl-click, which matches Mac OS X
author Sam Lantinga <slouken@libsdl.org>
date Mon, 21 Sep 2009 11:32:58 +0000
parents 6637846f3f7f
children dbdf8b108e31
files src/video/quartz/SDL_QuartzEvents.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
                         }