Merge pull request #17422 from unknownbrackets/windows-all-displays

Windows: Fix initial window show for all displays
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2023-05-06 18:38:07 +02:00
commit c4422e5027
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);
}