mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Fix bug where maximized->fullscreen->windowed mode stays maximized.
This commit is contained in:
@@ -1692,7 +1692,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;
|
||||
|
||||
Reference in New Issue
Block a user