c94d6229dc
Remove the listener for output destroy from weston_view and instead iterate views owned by the shell in its own output destroy listener. This simplifies the code a bit since keeping the view listening for the destroy on the right output was a bit complicated. This also removes the function pointer output_destroyed from weston_view. The only user for it was desktop shell, but now this is all handled in shell.c.