If you’re asking whether it’s possible to migrate a given wl_surface from being a subsurface (initially) to later being a shell surface, this isn’t allowed. This has to do with the immutability of a surface’s so-called “role.” (Surfaces are only ever allowed to be registered with one given role. )
-Matt On Fri, Apr 10, 2020 at 5:43 AM zou lan <nancy.lan....@gmail.com> wrote: > Hi pekka & all > > I want to use subsurface to manage the initial position of each surface on > screen, then I want to create shell surface for each wl surface to manage > them seperately, such as response touch event, ivi-shell can modify the > z-order of each surface and move each ivi surface to different displays. > > Is it ok to use subsurface like this? If the shell surfaces' z-order have > been modified by desktop shell or ivi-shell, will the z-order of > subsurfaces be modified too? > > thank you! > > Best Regards > Nancy > _______________________________________________ > 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