desktop-shell: Don't crash on when attemping to switch
Attempting to perform a switch on a surface (already) closed will trip the assert in activate(), so check if we have a weston_desktop_surface before trying to activate it. Fixes #543 Signed-off-by:Marius Vlad <marius.vlad@collabora.com>
Loading
Please register or sign in to comment