summaryrefslogtreecommitdiff
path: root/platform/windows/display_server_windows.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-02-22 11:27:27 +0100
committerGitHub <noreply@github.com>2022-02-22 11:27:27 +0100
commitca5cc8bc66b3fc95f44ab2d65388868df61a30c4 (patch)
tree86e6b954e9d37dd73f2e125e28935c2c24856b9c /platform/windows/display_server_windows.cpp
parentc77348b4688b7c58b13d7fd59d8e54a242bb8829 (diff)
parentd39ec5b9edfd07060662eb37f121546a9445b36a (diff)
Merge pull request #58420 from bruvzg/fix_borderless_minimize
Diffstat (limited to 'platform/windows/display_server_windows.cpp')
-rw-r--r--platform/windows/display_server_windows.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/platform/windows/display_server_windows.cpp b/platform/windows/display_server_windows.cpp
index 41295d41d2..6b4b342389 100644
--- a/platform/windows/display_server_windows.cpp
+++ b/platform/windows/display_server_windows.cpp
@@ -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;