Skip to content
Commit 137c793f authored by Marius Vlad's avatar Marius Vlad Committed by Pekka Paalanen
Browse files

desktop-shell: Guard against invalid seats in get_shell_seat()



Starting with commit 'desktop-shell: Embed keyboard focus handle code
when activating' we are iterating over all the seats when removing a
weston_desktop_surface to be able to invalidate the activate surface.

Upon compositor tear down the shell destroy might invalidate seats
before removal of the weston_desktop_surface making the shell_seat
itself invalid. This wasn't apparent at that time because we're not
handling at that the removal of surfaces from layers.

Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
parent a8827940
Loading
Loading
Loading
Pipeline #452727 passed with stages
in 2 minutes and 48 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