Fix bug where maximized->fullscreen->windowed mode stays maximized.
(cherry picked from commit 7918e2b6d9
)
This commit is contained in:
parent
561b843831
commit
ceb0602c16
|
@ -1401,7 +1401,9 @@ void DisplayServerWindows::window_set_mode(WindowMode p_mode, WindowID p_window)
|
|||
SystemParametersInfoA(SPI_SETMOUSETRAILS, restore_mouse_trails, 0, 0);
|
||||
restore_mouse_trails = 0;
|
||||
}
|
||||
} else if (p_mode == WINDOW_MODE_WINDOWED) {
|
||||
}
|
||||
|
||||
if (p_mode == WINDOW_MODE_WINDOWED) {
|
||||
ShowWindow(wd.hWnd, SW_RESTORE);
|
||||
wd.maximized = false;
|
||||
wd.minimized = false;
|
||||
|
|
Loading…
Reference in New Issue