Skip to content

Commit 1b49d63

Browse files
committed
Merge pull request godotengine#93733 from alvinhochun/windows-restore-sizing
Windows: Restore to windowed mode using `SW_NORMAL`
2 parents 685413a + c54477b commit 1b49d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/windows/display_server_windows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2009,7 +2009,7 @@ void DisplayServerWindows::window_set_mode(WindowMode p_mode, WindowID p_window)
20092009
}
20102010

20112011
if (p_mode == WINDOW_MODE_WINDOWED) {
2012-
ShowWindow(wd.hWnd, SW_RESTORE);
2012+
ShowWindow(wd.hWnd, SW_NORMAL);
20132013
wd.maximized = false;
20142014
wd.minimized = false;
20152015
}

0 commit comments

Comments
 (0)