Skip to content

wayland: Check surface before looking up modals

Carlos Garnacho requested to merge carlosg/mutter:wip/surface-check into main

Near window destruction, there might be cases where the surface actor does no longer have a surface, yet it's still in the stage and eligible for picking. In that situation looking for modal dialogs attached to this surface will evidently fail, so avoid this check on a NULL surface.

Closes: #3332 (closed)

Merge request reports