<div id="geary-body" dir="auto"><div><br></div></div><div id="geary-quote" dir="auto"><br>On Tue, Aug 9 2022 at 15:46:30 +01:00:00, David Edmundson <david@davidedmundson.co.uk> wrote:<br><blockquote type="cite"><div class="plaintext" style="white-space: break-spaces;"><blockquote>And that is where positioning is necessary: to not occlude the line of
</blockquote>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.

</div></blockquote><span style="white-space: break-spaces;"><br></span><div><span style="white-space: break-spaces;">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?</span></div></div>