On Tue, May 31, 2016 at 02:49:38PM +0100, adlo wrote: > > > On 20 May 2016, at 08:50, Pekka Paalanen <ppaala...@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@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/wayland-devel _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel