changeset 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 68ee433ec474
children 2d5c44f1be14
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	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);
                         }