Hi Daniel, El vie, 6 ago 2021 a las 11:57, Daniel Stone (<dan...@fooishbar.org>) escribió:
> Hi Guillermo, > > On Fri, 6 Aug 2021 at 10:44, Guillermo Rodriguez Garcia > <guille.rodrig...@gmail.com> wrote: > > El vie, 6 ago 2021 a las 10:14, Daniel Stone (<dan...@fooishbar.org>) > escribió: > >> kiosk-shell is something we have in newer versions of Weston which > >> sounds like it would work well for your usecases - it's designed to > >> just run a single application fullscreen. You might want to check out > >> what we have in git, which will be released as 10.0 in a few weeks' > >> time. > > > > I have a use case for this which is conceptually one single application, > fullscreen, no desktop stuff (navigation bar, window management etc) but > needs to support additional processes with separate top-level windows. This > would be used e.g. to overlay a video stream (using gstreamer) on top of > the "main" application. Will this be supported by kiosk-shell ? > > For clients to be able to position themselves relative to other > clients, wl_subcompositor gives you the subsurface mechanism for > embedding. This was designed for this exact usecase: an application > embedding media content in its own top-level window. Using this is > very strongly recommended. > But does this require that both "clients" run as the same process? I assume that's the case since I need to pass a handle of the parent wl_surface in order to create a subsurface. An important part of the problem is that we need to run the main application and the gstreamer client as separate processes. Thanks, Guillermo > If you are unable to do this for whatever reason, then you will need > to customise the window manager - in this case, kiosk-shell. We are > planning to extend this with Lua scripting to make this easier, but > have no firmly-defined ETA for this right now. > > Cheers, > Daniel > -- Guillermo Rodriguez Garcia guille.rodrig...@gmail.com