Use-case when positioning a window is necessary
Christopher James Halse Rogers
raof at ubuntu.com
Wed Aug 10 04:41:16 UTC 2022
On Tue, Aug 9 2022 at 15:46:30 +01:00:00, David Edmundson
<david at 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20220810/b8684b57/attachment.htm>
More information about the wayland-devel
mailing list