From b5268dccbd4da760b13114cebd44d371c3d84f56 Mon Sep 17 00:00:00 2001 From: smatz Date: Sat, 25 Dec 2010 12:47:05 +0000 Subject: (svn r21632) -Codechange: call ResetObjectToPlace() even when current place_mode is HT_NONE --- src/window.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/window.cpp') diff --git a/src/window.cpp b/src/window.cpp index e9b7e6748..ae9a683ac 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -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(); } -- cgit v1.2.3-54-g00ecf