Skip to content
  • Jonas Ådahl's avatar
    wayland: Push actor state instead of itself pulling · 44624736
    Jonas Ådahl authored
    Make the Wayland objects push the state relevant to their role to the
    MetaSurfaceActor instead of MetaSurfaceActorWayland pulling the state
    from the associated surface.
    
    This makes the relationship between the actor and the objects that
    constructs it more clear; the actor is a drawable that the protocol
    objects control, not the other way around.
    
    This will make it easier to "detach" a surface actor from a surface,
    which is necessary when unmapping a window while the underlying surface
    is yet to be destroyed and potentially reused.
    
    GNOME/mutter!5
    https://bugzilla.gnome.org/show_bug.cgi?id=791938
    44624736