Skip to content
Snippets Groups Projects
Commit 36c2c4a2 authored by Derek Foreman's avatar Derek Foreman
Browse files

libweston-desktop: Break grabs when a parent surface is destroyed


When a client is killed we don't get a clean dismissal of pop-ups in
construction order. This can lead to a weston_desktop_surface being
destroyed before its child popup is destroyed.

The weston_surface is still alive, so the surface destroy listener can't
save us.

Track grabbed seats in parent surfaces and explicitly break any grabs
that depend on them when the surfaces are destroyed.

Fixes #870

Signed-off-by: default avatarDerek Foreman <derek.foreman@collabora.com>
parent bedd171d
No related branches found
No related tags found
1 merge request!1492libweston-desktop: Store weston_surface in grabs
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