This is by no means an ideal fix, but it should at least resolve an easily-triggered crash when leaving a workspace in between view init and map. I think this has particularly affected xwayland popups as they can appear/disappear a lot and often seem to have a long enough display between init and map for the user to perform actions.
Also created #95 to track that the target box handling isn't neat and needs a little rethink.
This is by no means an ideal fix, but it should at least resolve an easily-triggered crash when leaving a workspace in between view init and map. I think this has particularly affected xwayland popups as they can appear/disappear a lot and often seem to have a long enough display between init and map for the user to perform actions.
Also created #95 to track that the target box handling isn't neat and needs a little rethink.