mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #21696: Mac not remembering fullscreen window option
This commit is contained in:
parent
c4c706c59c
commit
0c1f2ecb5f
|
@ -763,11 +763,8 @@ private:
|
|||
UpdateFullscreenResolutions();
|
||||
|
||||
// Fix #4022: Force Mac to windowed to avoid cursor offset on launch issue
|
||||
#ifdef __MACOSX__
|
||||
gConfigGeneral.FullscreenMode = static_cast<int32_t>(OpenRCT2::Ui::FULLSCREEN_MODE::WINDOWED);
|
||||
#else
|
||||
// Fix #21696: This workaround is obsolete, reverting it so that Mac remembers window mode
|
||||
SetFullscreenMode(static_cast<FULLSCREEN_MODE>(gConfigGeneral.FullscreenMode));
|
||||
#endif
|
||||
TriggerResize();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue