mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-02 15:55:39 +00:00
Use full-screen desktop mode for Mac to allow Spaces to work
This commit is contained in:
parent
141f6669e8
commit
e9c1f883da
@ -13,10 +13,10 @@
|
|||||||
#include "video/sl.h"
|
#include "video/sl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef Q_OS_WIN32
|
#if defined(Q_OS_WIN32) || defined(Q_OS_DARWIN)
|
||||||
// Using full-screen desktop allows us to avoid needing to enable V-sync
|
// Using full-screen desktop allows us to avoid needing to enable V-sync on Windows
|
||||||
// and it also avoids some strange flickering issues on my Win7 test machine
|
// and it also avoids some strange flickering issues on my Win7 test machine
|
||||||
// with Intel HD 5500 graphics.
|
// with Intel HD 5500 graphics. It also allows Spaces to work on macOS.
|
||||||
#define SDL_OS_FULLSCREEN_FLAG SDL_WINDOW_FULLSCREEN_DESKTOP
|
#define SDL_OS_FULLSCREEN_FLAG SDL_WINDOW_FULLSCREEN_DESKTOP
|
||||||
#else
|
#else
|
||||||
#define SDL_OS_FULLSCREEN_FLAG SDL_WINDOW_FULLSCREEN
|
#define SDL_OS_FULLSCREEN_FLAG SDL_WINDOW_FULLSCREEN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user