Merge pull request #93733 from alvinhochun/windows-restore-sizing
Windows: Restore to windowed mode using `SW_NORMAL`
This commit is contained in:
commit
1b49d6393d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue