macos: make move_resize possibly idempotent
authorChristian Hergert <christian@hergert.me>
Wed, 2 Mar 2022 08:45:44 +0000 (00:45 -0800)
committerChristian Hergert <christian@hergert.me>
Wed, 2 Mar 2022 08:45:44 +0000 (00:45 -0800)
commited4f0de2b02a35d1ded163f623caabc68cad2d84
treed6fcc2e59dcbe5e5efa93b711f0e63423ca00ac9
parent50b96dcdd5a92f504e6b746288ff67bdcb26bd7e
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