Skip to content

Commit

Permalink
Merge pull request #17422 from unknownbrackets/windows-all-displays
Browse files Browse the repository at this point in the history
Windows: Fix initial window show for all displays
  • Loading branch information
hrydgard committed May 6, 2023
2 parents d5ac88e + 4ecd0a6 commit c4422e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Windows/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit c4422e5

Please sign in to comment.