Skip to content
Commit 8b5bb588 authored by Marius Vlad's avatar Marius Vlad
Browse files

libweston/desktop: Don't destroy the xdg_surface



Upon xdg_toplevel::destroy we seem to be calling xdg_surface::destroy
destroy handler. Protocol states that we should umap the surface with
client having the posibility to getting another toplevel role for the
same xdg_surface and re-map the window.

This also adds a guard for an unlikely invalid resource.

Fixes: #774

Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
parent a501acd2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment