Files
weston/libweston-desktop
Daniel Stone 80e9482292 xdg-shell: Fail xdg_surface creation when surface has role
If a given wl_surface already has a role (e.g. cursor or subsurface),
there is nothing you can do with an xdg_surface which won't raise an
error, apart from destroying it.

As of wayland/wayland-protocols@11fecf0808 this is now explicitly
specified to be illegal, so disallow it within libweston-desktop. This
avoids us tying ourselves in knots with surface-private ownership.

Signed-off-by: Daniel Stone <daniels@collabora.com>
2021-07-23 17:17:16 +01:00
..
2019-04-18 12:31:46 +03:00
2019-04-18 12:31:46 +03:00
2019-04-18 12:31:46 +03:00
2019-04-18 12:31:46 +03:00