Re: Use-case when positioning a window is necessary

2022-08-09 Thread Christopher James Halse Rogers
On Tue, Aug 9 2022 at 15:46:30 +01:00:00, David Edmundson 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 d

Re: Use-case when positioning a window is necessary

2022-08-09 Thread David Edmundson
>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 rela

Re: Use-case when positioning a window is necessary

2022-08-08 Thread Sébastien Wilmet
On Mon, 2022-08-08 at 15:37 +0200, Benoît Gschwind wrote: > > After a quick reading of your DevHelp case, I think the issue belong > devhelp and your app that using it. DevHelp have to provide an API to > be embeded in another application and Wayland protocol should not be > involved. Maybe d-bus

Re: Use-case when positioning a window is necessary

2022-08-08 Thread Sébastien Wilmet
On Mon, 2022-08-08 at 15:11 +0200, Olivier Fourdan wrote: > On Mon, 8 Aug 2022 at 14:50, Sébastien Wilmet > wrote: > > > > 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). > >

Re: Use-case when positioning a window is necessary

2022-08-08 Thread Igor Korot
Hi, On Mon, Aug 8, 2022, 8:38 AM Benoît Gschwind wrote: > Hello, > > After a quick reading of your DevHelp case, I think the issue belong > devhelp and your app that using it. DevHelp have to provide an API to > be embeded in another application and Wayland protocol should not be > involved. May

Re: Use-case when positioning a window is necessary

2022-08-08 Thread Benoît Gschwind
Hello, After a quick reading of your DevHelp case, I think the issue belong devhelp and your app that using it. DevHelp have to provide an API to be embeded in another application and Wayland protocol should not be involved. Maybe d-bus can be used as pipe between DevHelp and others applications.

Re: Use-case when positioning a window is necessary

2022-08-08 Thread Olivier Fourdan
Hi Sébastien, On Mon, 8 Aug 2022 at 14:50, Sébastien Wilmet wrote: > Hi, > > I've seen the discussion this month about positioning windows. > > The use-case is something concrete: the Devhelp [1] assistant window. > > For some background, Devhelp (and libdevhelp) is implemented flexibly: > it ca

Use-case when positioning a window is necessary

2022-08-08 Thread Sébastien Wilmet
Hi, I've seen the discussion this month about positioning windows. The use-case is something concrete: the Devhelp [1] 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 a