Adjust a few calls. Display fullscreen/normal resolution mode info only one time.

This commit is contained in:
The Dax 2013-09-26 17:49:37 -04:00
parent 83a168c25e
commit 24d587c991

View file

@ -276,7 +276,7 @@ namespace MainWindow
// Reset full screen indicator. // Reset full screen indicator.
g_Config.bFullScreen = false; g_Config.bFullScreen = false;
CorrectCursor(); CorrectCursor();
ResizeDisplay(true); ResizeDisplay(true, true);
ShowOwnedPopups(hwndMain, TRUE); ShowOwnedPopups(hwndMain, TRUE);
W32Util::MakeTopMost(hwndMain, g_Config.bTopMost); W32Util::MakeTopMost(hwndMain, g_Config.bTopMost);
} }
@ -304,7 +304,7 @@ namespace MainWindow
// Set full screen indicator. // Set full screen indicator.
g_Config.bFullScreen = true; g_Config.bFullScreen = true;
CorrectCursor(); CorrectCursor();
ResizeDisplay(true); ResizeDisplay(true, true);
ShowOwnedPopups(hwndMain, FALSE); ShowOwnedPopups(hwndMain, FALSE);
UpdateScreenScale(); UpdateScreenScale();
} }