macos: fix origin during live resize of titled window
authorChristian Hergert <christian@hergert.me>
Fri, 25 Feb 2022 07:27:09 +0000 (23:27 -0800)
committerChristian Hergert <christian@hergert.me>
Fri, 25 Feb 2022 07:29:18 +0000 (23:29 -0800)
commita56828237a7ef974d832fa837452a8b4a2f89f40
treef9b16bafda56a9a400d31421e0cae539dc2952bb
parent617deb8bb6cd375833517464a1ba0d2220c4266c
macos: fix origin during live resize of titled window

When using server-side-decorations, we need to avoid potential cycles with
compute-size as it may not have the new sizing information yet. We can
just short circuit during "live resize" to get that effect.

Fixes poor window resizing from top-left on titled windows.
gdk/macos/gdkmacostoplevelsurface.c