Skip to content

Commit

Permalink
Max correctly pointed out that this will cause unexpected change in a…
Browse files Browse the repository at this point in the history
…pplication

behavior and conflict with binding ctrl-click in some existing applications.
  • Loading branch information
slouken committed Sep 22, 2009
1 parent 15a8cb1 commit 52b62cd
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 ( NSControlKeyMask & current_mods ) {
if ( NSCommandKeyMask & current_mods ) {
last_virtual_button = SDL_BUTTON_RIGHT;
DO_MOUSE_DOWN (SDL_BUTTON_RIGHT);
}
Expand Down

0 comments on commit 52b62cd

Please sign in to comment.