diff --git a/platform/macos/display_server_macos.mm b/platform/macos/display_server_macos.mm index d06eab853199..9d6531a2b505 100644 --- a/platform/macos/display_server_macos.mm +++ b/platform/macos/display_server_macos.mm @@ -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; }