I’m involved in the pure-gtk port of emacs, currently working on issues with the implementation of child-frames/ child gtk windows.
These are used by many elisp packages for error messages, completions or general interaction as glorified text boxes.
I have some issues getting child windows to move with their parents, despite this working fine in the mish-mash x/gtk emacs in master.
this works fine for wayland, as the new windows are created as
GTK_WINDOW_POPUP types with
gtk_window_transient_for and are handled as subsurfaces of the parent, and get relocates as part of the surface being moved.
on X the child windows are always fixed until an internal resize/reposition call to
gtk_window_move with new absolute coords relative to the position of the parent.
Is there a recommended call/attribute to ‘pin’ child windows relative to their parent?
alternatively would signalling on a configure event cause excessive performance issues?