Skip to content

Commit

Permalink
Fixed bug #637
Browse files Browse the repository at this point in the history
Switched right click emulation to be Ctrl-click, which matches Mac OS X
  • Loading branch information
slouken committed Sep 21, 2009
1 parent f55e9f8 commit b7beec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/quartz/SDL_QuartzEvents.m
Expand Up @@ -785,7 +785,7 @@ void QZ_PumpEvents (_THIS)
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);
}
Expand Down

0 comments on commit b7beec2

Please sign in to comment.