On Tue, Aug 9 2022 at 15:46:30 +01:00:00, David Edmundson <da...@davidedmundson.co.uk> wrote:
And that is where positioning is necessary: to not occlude the line of
text where the cursor is, and to show the documentation at a sensible
place (near the cursor position).

xdg-foreign will just get that window on top. You don't have any
control of where on top it is, merely a child-parent relationship
It will occlude or be nowhere near the cursor. xdg-foreign alone won't
be a complete solution.


This sounds quite a lot like an xdg_popup; that has all the “this surface is associated with this rectangle of this other surface” infrastructure. Extending xdg-foreign to allow import of xdg_popups in addition to xdg_toplevels looks like it would fully support this use-case?

Reply via email to