Partially revert "Rework window management to fix issues restoring window state between windowed and full-screen"

This exposes all sorts of issues with full-screen transitions on Windows and macOS:
- Loss of proper window decorations when transitioning from full-screen to windowed on Windows
- Improper sizing when transitioning from true full-screen to windowed on macOS

This reverts commit 38396b2691.
This commit is contained in:
Cameron Gutman
2022-04-24 16:37:57 -05:00
parent 38396b2691
commit f10b547a49
2 changed files with 69 additions and 20 deletions
+1
View File
@@ -163,6 +163,7 @@ private:
int m_DisplayOriginX;
int m_DisplayOriginY;
bool m_ThreadedExec;
bool m_PendingWindowedTransition;
bool m_UnexpectedTermination;
SdlInputHandler* m_InputHandler;
int m_MouseEmulationRefCount;