Fixed bug #637 SDL-1.2
authorSam Lantinga
Mon, 21 Sep 2009 11:32:58 +0000
branchSDL-1.2
changeset 42256c1d2039b6b4
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
     1.1 --- a/src/video/quartz/SDL_QuartzEvents.m	Mon Sep 21 11:30:54 2009 +0000
     1.2 +++ b/src/video/quartz/SDL_QuartzEvents.m	Mon Sep 21 11:32:58 2009 +0000
     1.3 @@ -785,7 +785,7 @@
     1.4                      if ( SDL_getenv("SDL_HAS3BUTTONMOUSE") ) {
     1.5                          DO_MOUSE_DOWN (SDL_BUTTON_LEFT);
     1.6                      } else {
     1.7 -                        if ( NSCommandKeyMask & current_mods ) {
     1.8 +                        if ( NSControlKeyMask & current_mods ) {
     1.9                              last_virtual_button = SDL_BUTTON_RIGHT;
    1.10                              DO_MOUSE_DOWN (SDL_BUTTON_RIGHT);
    1.11                          }