summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2010-02-12 19:30:54 +0100
committerDennis Kasprzyk <onestone@compiz-fusion.org>2010-02-12 19:31:08 +0100
commit2ba0d8b595e3fcc439e5f8f360b3e1ed3ebceccd (patch)
treee29879e2f92e661e98604e0f8f48987b6ba33480 /src/window.cpp
parent5e4a1827ef635aa4e07a93b9fb14fe5ab361b312 (diff)
downloadunity-window-decorator-2ba0d8b595e3fcc439e5f8f360b3e1ed3ebceccd.tar.gz
unity-window-decorator-2ba0d8b595e3fcc439e5f8f360b3e1ed3ebceccd.tar.bz2
Unmap also the frame of minimized windows.
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 34bdca9..673aafd 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -5031,6 +5031,9 @@ CompWindow::CompWindow (Window id,
priv->pendingUnmaps++;
+ if (priv->frame && !priv->shaded)
+ XUnmapWindow (screen->dpy (), priv->frame);
+
XUnmapWindow (screen->dpy (), priv->id);
screen->priv->setWindowState (priv->state, priv->id);