Skip to content

xwm: Remove child->parent pointer when parent destroys

Created by: RyanDwyer

Probably fixes https://github.com/swaywm/sway/issues/2840, though I can't reproduce it and there's no confirmation yet.

My suspicion is that some clients (phpstorm) will unmap and destroy a parent surface while there are still children, so we must remove the pointer. Or perhaps we should link the child to the parent's parent instead?

Merge request reports