Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] Improve non-exclusive full-screen mode. #72787

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions platform/windows/display_server_windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1259,9 +1259,10 @@ void DisplayServerWindows::_get_window_style(bool p_main_window, bool p_fullscre
}

if (p_fullscreen || p_borderless) {
r_style |= WS_POPUP; // p_borderless was WS_EX_TOOLWINDOW in the past.
if (p_fullscreen && p_multiwindow_fs) {
r_style |= WS_BORDER; // Allows child windows to be displayed on top of full screen.
r_style |= WS_OVERLAPPED; // Allows child windows to be displayed on top of full screen.
} else {
r_style |= WS_POPUP; // p_borderless was WS_EX_TOOLWINDOW in the past.
}
} else {
if (p_resizable) {
Expand Down