ref: 358b8a85f209eb08524ba6199e857e84e70c60cc
parent: f9a6d630fb4df6a523df9e08d18c6cb71f103d85
author: Olav Sørensen <[email protected]>
date: Mon Sep 7 07:53:43 EDT 2020
Mac: Prevent Left Ctrl+Left Cmd+F from doing "Play Pattern"
--- a/src/ft2_keyboard.c
+++ b/src/ft2_keyboard.c
@@ -376,7 +376,12 @@
#ifdef __APPLE__
case SDLK_LGUI: // fall-through for Apple keyboards
#endif
- case SDLK_RALT: startPlaying(PLAYMODE_PATT, 0); break;
+ case SDLK_RALT:
+ {
+ if (!keyb.leftCtrlPressed) // kludge for Mac (toggle fullscreen)
+ startPlaying(PLAYMODE_PATT, 0);
+ }
+ break;
case SDLK_SPACE:
{