Merge pull request #58420 from bruvzg/fix_borderless_minimize

This commit is contained in:
Rémi Verschelde 2022-02-22 11:27:27 +01:00 committed by GitHub
commit ca5cc8bc66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1037,9 +1037,7 @@ void DisplayServerWindows::_get_window_style(bool p_main_window, bool p_fullscre
r_style = WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU;
}
}
if (!p_borderless) {
r_style |= WS_VISIBLE;
}
r_style |= WS_VISIBLE;
if (p_no_activate_focus) {
r_style_ex |= WS_EX_TOPMOST | WS_EX_NOACTIVATE;