Skip to content
  • Val Packett's avatar
    desktop-shell: remove surface destroy listener when focus state is destroyed · 15d3d300
    Val Packett authored and Daniel Stone's avatar Daniel Stone committed
    Changing the focused surface did remove the surface_destroy_listener from the wl_signal list,
    but destroying the focus state did not. As a result, sometimes the same listener would be added
    to two surfaces, which would join their wl_signal lists together, which would cause infinite
    loops and use-after-frees when closing desktop surfaces.
    15d3d300