Make moving subwindows correctly handle native windows
Make moving subwindows correctly handle native windows

Whenever a native window is moved this causes an immediate change in
the window (the window content is copied). This change conflicts can
conflict with outstanding moves or other cached changed, so we need
to flush all outstanding moves in the related windows.

To simplify the code for window move/resize the toplevel version was
split out to its own function.

Move native windows after recomputing so that we get the right new
shape before moving (and the implied copy). This means we're not
copying too much data.

Take into account the area of a moved window that contains native
subwindows, as these affect things in two ways:

First of all we shouldn't copy the original window location, as that
is copied by the native window move.

Secondly, we can't copy things  that would end up copying from the
native window move destination, as the data that used to be there is
now destroyed by the native window move.

Distrotech/gtk2,Lyude/gtk-,jigpu/gtk,Lyude/gtk-,simokivimaki/gtk,alexlarsson/gtk,Adamovskiy/gtk,jigpu/gtk,jadahl/gtk,Adamovskiy/gtk,msteinert/gtk,jadahl/gtk,ahodesuka/gtk,Adamovskiy/gtk,grubersjoe/adwaita,Lyude/gtk-,chipx86/gtk,zsx/gtk,johne53/MB3Gtk-2,Distrotech/gtk,Sidnioulz/SandboxGtk,msteinert/gtk,davidgumberg/gtk,chergert/gtk,ebassi/gtk,davidgumberg/gtk,grubersjoe/adwaita,Adamovskiy/gtk,Distrotech/gtk2,alexlarsson/gtk,Distrotech/gtk,zsx/gtk,jigpu/gtk,nacho/gtk-,jadahl/gtk,zsx/gtk,davidt/gtk,Distrotech/gtk,grubersjoe/adwaita,ebassi/gtk,nacho/gtk-,davidt/gtk,ahodesuka/gtk,msteinert/gtk,Sidnioulz/SandboxGtk,zsx/gtk,ahodesuka/gtk,chergert/gtk,simokivimaki/gtk,jessevdk/gtk,Distrotech/gtk2,chipx86/gtk,nacho/gtk-,jadahl/gtk,Unity-Technologies/gtk,alexlarsson/gtk,jigpu/gtk,Unity-Technologies/gtk,chergert/gtk,grubersjoe/adwaita,ahodesuka/gtk,alexlarsson/gtk,davidgumberg/gtk,ahodesuka/gtk,jigpu/gtk,jadahl/gtk,chergert/gtk,jadahl/gtk,nacho/gtk-,alexlarsson/gtk,johne53/MB3Gtk-2,jigpu/gtk,jessevdk/gtk,chergert/gtk,Unity-Technologies/gtk,nacho/gtk-,jessevdk/gtk,Sidnioulz/SandboxGtk,Adamovskiy/gtk,Lyude/gtk-,chergert/gtk,alexlarsson/gtk,Distrotech/gtk,grubersjoe/adwaita,jessevdk/gtk,Distrotech/gtk,bratsche/gtk-,msteinert/gtk,alexlarsson/gtk,davidgumberg/gtk,ebassi/gtk,alexlarsson/gtk,ahodesuka/gtk,Adamovskiy/gtk,jigpu/gtk,Distrotech/gtk2,jessevdk/gtk,davidgumberg/gtk,Sidnioulz/SandboxGtk,davidt/gtk,bratsche/gtk-,grubersjoe/adwaita,simokivimaki/gtk,Lyude/gtk-,chipx86/gtk,davidt/gtk,Unity-Technologies/gtk,chergert/gtk,jessevdk/gtk,davidgumberg/gtk,johne53/MB3Gtk-2,bratsche/gtk-,simokivimaki/gtk,ebassi/gtk,Sidnioulz/SandboxGtk,Unity-Technologies/gtk,Adamovskiy/gtk,ebassi/gtk,chipx86/gtk,davidgumberg/gtk,ahodesuka/gtk,davidgumberg/gtk,Distrotech/gtk2,grubersjoe/adwaita,Distrotech/gtk2,ebassi/gtk,ahodesuka/gtk,davidt/gtk,Lyude/gtk-,johne53/MB3Gtk-2,chipx86/gtk,chergert/gtk,Lyude/gtk-,jigpu/gtk,davidt/gtk,Lyude/gtk-,msteinert/gtk,jadahl/gtk,grubersjoe/adwaita,simokivimaki/gtk,msteinert/gtk,bratsche/gtk-,zsx/gtk,jadahl/gtk,jessevdk/gtk,simokivimaki/gtk,johne53/MB3Gtk-2,Sidnioulz/SandboxGtk,Adamovskiy/gtk,bratsche/gtk-,bratsche/gtk-