Merge pull request #3755 from thedax/win32RememberWindowPosSize

Win32: Don't allow SavePosition to execute if we're entering fullscreen.
This commit is contained in:
Henrik Rydgård 2013-09-15 00:27:15 -07:00
commit f26dfcb382

View file

@ -160,6 +160,8 @@ namespace MainWindow
}
void SavePosition() {
if (g_Config.bFullScreen) return;
WINDOWPLACEMENT placement;
GetWindowPlacement(hwndMain, &placement);
if (placement.showCmd == SW_SHOWNORMAL) {