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@11fecf080860 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>dev
parent
baa8f6b1af
commit
80e9482292
Loading…
Reference in new issue