Mercurial > sdl-ios-xcode
diff src/video/quartz/SDL_QuartzEvents.m @ 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 | a1b03ba2fcd0 |
children | 2bb68bacdc54 |
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); }