scene: allow at most one scene surface per surface
Multiple struct wlr_scene_surface
conflict with each other, relaying different buffer preferences and possibly breaking automatic X11 window restacking. Additionally, this restriction allows to introduce wlr_scene_surface_try_from_wlr_surface()
.
Breaking changes
wlr_scene
- Creating more than one
struct wlr_scene_surface
objects perstruct wlr_surface
is not allowed anymore.