Merge branch 'wip/chergert/macos-fix-titled-resize' into 'main'

macos: fix origin during live resize of titled window

See merge request GNOME/gtk!4519
This commit is contained in:
Matthias Clasen 2022-02-25 15:49:07 +00:00
commit e0b98bc7de

View File

@ -421,7 +421,8 @@ _gdk_macos_toplevel_surface_compute_size (GdkSurface *surface)
GDK_TOPLEVEL_STATE_RIGHT_TILED |
GDK_TOPLEVEL_STATE_BOTTOM_TILED |
GDK_TOPLEVEL_STATE_LEFT_TILED |
GDK_TOPLEVEL_STATE_MINIMIZED))
GDK_TOPLEVEL_STATE_MINIMIZED) ||
[macos_surface->window inLiveResize])
return FALSE;
/* If we delayed a user resize until the beginning of the frame,