Skip to content
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
Loading
Loading
Loading
Pipeline #438298 passed with stages
in 3 minutes and 56 seconds
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