Win32: only save window position if not in fullscreen
This commit is contained in:
parent
e68a1e9786
commit
01bf98aaaf
@ -557,7 +557,8 @@ void SaveMainWinPos()
|
||||
wndPlacement.length = sizeof(WINDOWPLACEMENT);
|
||||
GetWindowPlacement(GUI.hWnd,&wndPlacement);
|
||||
GUI.window_maximized = wndPlacement.showCmd == SW_SHOWMAXIMIZED;
|
||||
GUI.window_size = wndPlacement.rcNormalPosition;
|
||||
if(!GUI.FullScreen && !GUI.EmulatedFullscreen)
|
||||
GUI.window_size = wndPlacement.rcNormalPosition;
|
||||
}
|
||||
|
||||
void RestoreMainWinPos()
|
||||
|
Loading…
Reference in New Issue
Block a user