Merge pull request #90101 from Jiali-Qiu/move-maximized-window

Fix issue with moving maximized window in macOS
This commit is contained in:
Rémi Verschelde 2024-04-04 14:37:18 +02:00
commit f8a1da9f55
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -1995,7 +1995,7 @@ void DisplayServerMacOS::window_set_position(const Point2i &p_position, WindowID
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;
}