(svn r21632) -Codechange: call ResetObjectToPlace() even when current place_mode is HT_NONE

This commit is contained in:
smatz
2010-12-25 12:47:05 +00:00
parent d012ed5192
commit 76a57e9766
2 changed files with 10 additions and 13 deletions

View File

@@ -653,8 +653,7 @@ void Window::DeleteChildWindows(WindowClass wc) const
*/
Window::~Window()
{
if ((_thd.place_mode & ~HT_DIR_MASK) != HT_NONE &&
_thd.window_class == this->window_class &&
if (_thd.window_class == this->window_class &&
_thd.window_number == this->window_number) {
ResetObjectToPlace();
}