Protocol for window previews/thumbnails
Jonas Ã…dahl
jadahl at gmail.com
Tue May 31 13:53:58 UTC 2016
On Tue, May 31, 2016 at 02:49:38PM +0100, adlo wrote:
>
> > On 20 May 2016, at 08:50, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> >
> > You would design a new protocol extension private to Weston, with which
> > you deliver to your client the handles for top-level windows as they
> > come and go.
> >
>
> This should probably be a separate protocol from the preview protocol. Is it possible to integrate the handle and preview protocol with another protocol, such as xdg-shell, so that the handles are delivered as xdg_surfaces and the preview protocol accepts xdg_surfaces as input?
You won't be able to create an xdg_surface from not-xdg_shell because of
the single-factory principle, but with v6 it would theoretically be
possible to create an xdg_surface and assign it a role not defined in
xdg_shell.
>
> Is xdg-shell designed to be used by third-party clients for controlling windows in a similar way to libwnck? Does xdg-shell expose the inner workings of the compositor thus making it unsuitable?
No. xdg_shell will not work as a desktop environment component protocol.
It's targeted at toolkits and clients that act as regular clients.
Jonas
>
> Regards
>
> adlo
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list