From 52b62cd10a05fc34bc6b2ddc337e1e18f26c7e1f Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 22 Sep 2009 02:25:59 +0000 Subject: [PATCH] Max correctly pointed out that this will cause unexpected change in application behavior and conflict with binding ctrl-click in some existing applications. --- src/video/quartz/SDL_QuartzEvents.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/quartz/SDL_QuartzEvents.m b/src/video/quartz/SDL_QuartzEvents.m index 36a2dc453..f86f62fc2 100644 --- a/src/video/quartz/SDL_QuartzEvents.m +++ b/src/video/quartz/SDL_QuartzEvents.m @@ -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); }