[Feature Request] Create a Surface's PositionContext to manipulate position of windows
What ?
A new object storing everything related to absolute position on screen for Gtk.Window/Gdk.Surface. It should contain position setter and getter, and moving signal and moved. It should be null in an environment where absolute position has no sense (like in tiling WMs).
Why ?
In Gtk 4 has been removed the possibility of moving windows programmatically. This is generally a bad practice, but it some case it is really useful (in docking APIs by example). Now, to move windows, we must re-implement functions for each back-end manually, which is expensive.
Moving these functions out of Surface and Window will permit to set some cases where re-positioning should never be done, for dialogs and tooltips by example.