Max correctly pointed out that this will cause unexpected change in application

behavior and conflict with binding ctrl-click in some existing applications.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403876
This commit is contained in:
Sam Lantinga 2009-09-22 02:25:59 +00:00
parent 6e84a21e3f
commit 236e7ef7e7

View file

@ -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);
}