Merge pull request #77770 from jpcerrone/fix_minimize_missing

Fix minimize button missing in non-resizable projects
This commit is contained in:
Rémi Verschelde 2023-06-12 11:39:08 +02:00
commit 26e5a98306
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -1328,7 +1328,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;
}
}