Skip to content

Commit

Permalink
Merge pull request #90101 from Jiali-Qiu/move-maximized-window
Browse files Browse the repository at this point in the history
Fix issue with moving maximized window in macOS
  • Loading branch information
akien-mga committed Apr 4, 2024
2 parents 7c68926 + d78cb43 commit f8a1da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/macos/display_server_macos.mm
Original file line number Diff line number Diff line change
Expand Up @@ -1995,7 +1995,7 @@
ERR_FAIL_COND(!windows.has(p_window));
WindowData &wd = windows[p_window];

if (NSEqualRects([wd.window_object frame], [[wd.window_object screen] visibleFrame])) {
if (wd.fullscreen) {
return;
}

Expand Down

0 comments on commit f8a1da9

Please sign in to comment.