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
This commit is contained in:
Sam Lantinga
2009-09-22 02:25:59 +00:00
parent 891f4e6761
commit 03f73fbf8c

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