diff options
author | 2018-10-05 16:39:20 +1000 | |
---|---|---|
committer | 2018-10-05 16:39:20 +1000 | |
commit | 44b550298ed64043d54b40f98d627908d37a37d2 (patch) | |
tree | 957b38e10118ca079748b12ab64cd88048242f64 /include/unicode.h | |
parent | Merge pull request #2764 from ianyfan/rm-base64 (diff) | |
download | sway-44b550298ed64043d54b40f98d627908d37a37d2.tar.gz sway-44b550298ed64043d54b40f98d627908d37a37d2.tar.zst sway-44b550298ed64043d54b40f98d627908d37a37d2.zip |
Fix crash when flattening container after moving
container_flatten removes the container from the tree (via
container_replace) before destroying it. When destroying, the recent
changes to handle_seat_node_destroy incorrectly assumes that the
container has a parent.
This adds a check for destroying a container which is no longer in the
tree. If this is the case, focus does not need to be changed.
Diffstat (limited to 'include/unicode.h')
0 files changed, 0 insertions, 0 deletions