mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Fix minimize button missing in non-resizable projects.
Fixes https://github.com/godotengine/godot/issues/77603. On Windows, disabling the 'resizable' flag on the project settings would also remove the minimize button from the window.
This commit is contained in:
@@ -1325,7 +1325,7 @@ void DisplayServerWindows::_get_window_style(bool p_main_window, bool p_fullscre
|
||||
r_style = WS_OVERLAPPEDWINDOW;
|
||||
}
|
||||
} else {
|
||||
r_style = WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU;
|
||||
r_style = WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user