Fix #9269, f6d5c01: Hide windows without abusing WC_INVALID

This commit is contained in:
glx22
2021-05-15 15:50:32 +02:00
committed by Loïc Guilloux
parent 2e43f91891
commit e66e25ff71
2 changed files with 3 additions and 3 deletions

View File

@@ -3489,6 +3489,6 @@ void RelocateAllWindows(int neww, int newh)
*/
PickerWindowBase::~PickerWindowBase()
{
this->window_class = WC_INVALID; // stop the ancestor from freeing the already (to be) child
*this->z_position = nullptr; // stop the ancestor from freeing the already (to be) child
ResetObjectToPlace();
}