Re: Rendering window thumbnails etc

2019-06-24 Thread Simon Ser
Hi, On Monday, June 24, 2019 9:55 AM, adlo wrote: > I am attempting to implement wlr-layer-shell on a libweston-based compositor. There is an attempt to do so here: https://github.com/myfreeweb/weston-extra-dip I don't know whether it's complete enough for your use-case or not.

Re: Rendering window thumbnails etc

2019-06-23 Thread adlo
> On 22 May 2019, at 21:36, Ilia Bozhinov wrote: > > If you have a panel/any UI elements, then you most probably have a protocol > to communicate that the UI element surface is a special surface. You could > then just extend this protocol so that you specify Z-ordering of these > surfaces, and

Re: Rendering window thumbnails etc

2019-06-20 Thread Ilia Bozhinov
On the client side, it is as you said, you'll need to make the request on the GtkWindow's wl_surface. On the server side, in the protocol implementation you will get a wl_resource* surface_resource which corresponds to the wl_surface object. You can then do `weston_surface *surface = wl_resource_g

Re: Rendering window thumbnails etc

2019-06-20 Thread adlo
> On 22 May 2019, at 21:36, Ilia Bozhinov wrote: > > If you have a panel/any UI elements, then you most probably have a protocol > to communicate that the UI element surface is a special surface. You could > then just extend this protocol so that you specify Z-ordering of these > surfaces, and

Re: Rendering window thumbnails etc

2019-05-22 Thread Ilia Bozhinov
If you have a panel/any UI elements, then you most probably have a protocol to communicate that the UI element surface is a special surface. You could then just extend this protocol so that you specify Z-ordering of these surfaces, and then the compositor should respect that. If it might help here

Rendering window thumbnails etc

2019-05-22 Thread adlo
> On 24 May 2017, at 19:41, Quentin Glidic > wrote: > > On 5/24/17 8:37 PM, adlo wrote: >> What I would like to do is get the desktop window so that I can display a >> fake live image of the empty desktop as a background to my full-screen >> window switcher, so that I can imply that the window