Skip to content
Snippets Groups Projects
Commit 5699dbaa authored by Marius Vlad's avatar Marius Vlad
Browse files

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: default avatarMarius Vlad <marius.vlad@collabora.com>
parent b5dbb7a7
Branches main
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment