macos: make move_resize possibly idempotent
authorChristian Hergert <christian@hergert.me>
Wed, 2 Mar 2022 08:45:44 +0000 (00:45 -0800)
committerChristian Hergert <chergert@redhat.com>
Wed, 16 Mar 2022 19:25:09 +0000 (12:25 -0700)
commit46da364289b2ce8aabe96b364f721944dbe3c90e
treebf9543a1be5487a73435b4cf31858a3b22c8e6ac
parentcb99370ce4b2af715c2b6debf3e54a4bf2d9a2fb
macos: make move_resize possibly idempotent

We need to handle the case where we might be racing against an incoming
configure event due to how notifications are queued from the display
server. Rather than calling configure (and possibly causing other things
to move around) this just queries the display server directly for the
coordinates that we care about.

Additionally, we can display:NO as we are in control of all the display
process now using CALayer.
gdk/macos/gdkmacossurface.c