Windows: Fix initial window show for all displays.

This commit is contained in:
Unknown W. Brackets committed 2023-05-06 08:56:34 -07:00
1 parent 91be4cfeb6
commit 4ecd0a68f7
1 file changed
+1
+1
View File
@@ -375,6 +375,7 @@ namespace MainWindow
int totalHeight = GetSystemMetrics(SM_CYVIRTUALSCREEN);
MoveWindow(hwndMain, totalX, totalY, totalWidth, totalHeight, TRUE);
HandleSizeChange(oldWindowState);
ShowWindow(hwndMain, SW_SHOW);
} else {
ShowWindow(hwndMain, SW_MAXIMIZE);
}