summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-22 21:39:01 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-22 21:39:01 +0300
commit8040656ae1d1dea330754d4595b2737b7eb7959a (patch)
treea3915d674bcaceba16dfb3824740392d07504ef3 /src/gui/widgets/window.cpp
parent4a5cdfe19cbb50e3b58149c6e91312366ee4b771 (diff)
downloadmv-8040656ae1d1dea330754d4595b2737b7eb7959a.tar.gz
mv-8040656ae1d1dea330754d4595b2737b7eb7959a.tar.bz2
mv-8040656ae1d1dea330754d4595b2737b7eb7959a.tar.xz
mv-8040656ae1d1dea330754d4595b2737b7eb7959a.zip
Restore default close image on window closing
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r--src/gui/widgets/window.cpp2
1 files changed, 2 insertions, 0 deletions
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);