Skip to content

Commit

Permalink
Merge pull request #93733 from alvinhochun/windows-restore-sizing
Browse files Browse the repository at this point in the history
Windows: Restore to windowed mode using `SW_NORMAL`
  • Loading branch information
akien-mga committed Jul 11, 2024
2 parents 685413a + c54477b commit 1b49d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/windows/display_server_windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2009,7 +2009,7 @@ void DisplayServerWindows::window_set_mode(WindowMode p_mode, WindowID p_window)
}

if (p_mode == WINDOW_MODE_WINDOWED) {
ShowWindow(wd.hWnd, SW_RESTORE);
ShowWindow(wd.hWnd, SW_NORMAL);
wd.maximized = false;
wd.minimized = false;
}
Expand Down

0 comments on commit 1b49d63

Please sign in to comment.