can subsurface and shell surface be used together to manage surfaces

Pekka Paalanen ppaalanen at
Mon Apr 20 10:56:06 UTC 2020

On Sun, 12 Apr 2020 17:13:04 +0800
zou lan <nancy.lan.zou at> wrote:

> Hi Matt
> yes, I want to bind a wl_surface to a subsurface first, then create a shell
> surface for it.

No, you can't do that.

> I want to do that is because if the wl surface is created by another
> compositor, it had been declared as a subsurface to map its position of

Another compositor? Do you mean another client?

> original compositor. Then weston shell can't
> manage the surface as a window directly, I was just wondering how can make
> weston shell could manage these kind of surfaces as separate windows too.
> It seems create shell surface for each wl surface is not a good idea in
> this case.  Thank you for confirmation!

What are you trying to do?

Do you have some sort of middle-man compositor as a third player here?

I don't understand at all.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the wayland-devel mailing list