From 8040656ae1d1dea330754d4595b2737b7eb7959a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Sep 2012 21:39:01 +0300 Subject: Restore default close image on window closing --- src/gui/widgets/window.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets/window.cpp') diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index 21a78ba7e..19d0b2fea 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -491,6 +491,8 @@ void Window::setVisible(bool visible, bool forceSticky) // Check if the window is off screen... if (visible) ensureOnScreen(); + else + mResizeHandles = 0; if (isStickyButtonLock()) gcn::Window::setVisible(visible); -- cgit v1.2.3-70-g09d2