mirror of
https://github.com/NickHu/sway
synced 2024-12-29 22:23:46 +01:00
017a7c4da1
Since not all child views's have an unmap event, it is possible for it to still be mapped (default state) in the destruction handler. When the destruction handler is called, the corresponding view may have already been freed and the memory location reallocated. This adds a listener for the view unmapping and removes the mapped status. This ensures that the child view is damaged due to destruction while the view still exists and not after. |
||
---|---|---|
.. | ||
arrange.h | ||
container.h | ||
node.h | ||
root.h | ||
view.h | ||
workspace.h |