mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 13:12:42 +00:00
Merge pull request #93733 from alvinhochun/windows-restore-sizing
Windows: Restore to windowed mode using `SW_NORMAL`
This commit is contained in:
commit
1b49d6393d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user