diff --git a/app/streaming/session.cpp b/app/streaming/session.cpp index 5e971365..261e4423 100644 --- a/app/streaming/session.cpp +++ b/app/streaming/session.cpp @@ -531,6 +531,15 @@ bool Session::initialize() break; } +#ifdef Q_OS_DARWIN + // macOS behaves as if we're capturing system keys when + // we enter "real" full-screen mode, so use standard + // full-screen as our full-screen flag when capturing keys. + if (m_Preferences->captureSysKeys) { + m_FullScreenFlag = SDL_WINDOW_FULLSCREEN; + } +#endif + #if !SDL_VERSION_ATLEAST(2, 0, 11) // HACK: Using a full-screen window breaks mouse capture on the Pi's LXDE // GUI environment. Force the session to use windowed mode (which won't