Skip to content

Commit f8a1da9

Browse files
committed
Merge pull request godotengine#90101 from Jiali-Qiu/move-maximized-window
Fix issue with moving maximized window in macOS
2 parents 7c68926 + d78cb43 commit f8a1da9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/macos/display_server_macos.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1995,7 +1995,7 @@
19951995
ERR_FAIL_COND(!windows.has(p_window));
19961996
WindowData &wd = windows[p_window];
19971997

1998-
if (NSEqualRects([wd.window_object frame], [[wd.window_object screen] visibleFrame])) {
1998+
if (wd.fullscreen) {
19991999
return;
20002000
}
20012001

0 commit comments

Comments
 (0)