Skip to content
Snippets Groups Projects
Commit adaa20c0 authored by Emilio Pozuelo Monfort's avatar Emilio Pozuelo Monfort Committed by Kristian Høgsberg
Browse files

desktop-shell: initialize children link

Since commit 9046d2, when destroying a surface, we remove all the
links from its children. But when the child surfaces are destroyed,
those links will be removed again, but since they were not properly
initialized, weston will crash.

Call shell_surface_set_parent instead which removes the link and
sets parent while also initializing the link, thus avoiding this
crash.
parent 38b58eba
No related branches found
No related tags found
Loading
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