Use-case when positioning a window is necessary
fourdan at gmail.com
Mon Aug 8 13:11:25 UTC 2022
On Mon, 8 Aug 2022 at 14:50, Sébastien Wilmet <swilmet at informatique-libre.be>
> I've seen the discussion this month about positioning windows.
> The use-case is something concrete: the Devhelp  assistant window.
> For some background, Devhelp (and libdevhelp) is implemented flexibly:
> it can be used as a standalone app, it can be integrated into GTK IDEs,
> the standalone app can be called to search or open a symbol.
> And there is the Devhelp assistant window: it is typically used by a
> text editor, to ask Devhelp to show a small window with the
> documentation for the symbol under the cursor.
> 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).
> With Wayland, this should be implemented with a subsurface. I may be
> wrong, but in this case it's not possible, because it's not the same
> app (the same process).
See the xdg-foreign protocol .
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wayland-devel