summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2010-12-07 22:52:03 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2010-12-07 22:52:03 +0800
commitf930991c34d2929848853e8f5832a8859b90f7d3 (patch)
tree16c9c61eebdaece425a6e61e608f031d46577a1b
parent57618b0c281709ff97330b7f38b8217878d235e8 (diff)
downloadcompiz-with-glib-mainloop-f930991c34d2929848853e8f5832a8859b90f7d3.tar.gz
compiz-with-glib-mainloop-f930991c34d2929848853e8f5832a8859b90f7d3.tar.bz2
Don't make minimized windows unmanaged.
Forward port 8dcfbb256322565228cbcda5230de95343887fac
-rw-r--r--src/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 92302de..e38c7c0 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -1345,7 +1345,7 @@ CompWindow::unmap ()
if (priv->unmapRefCnt > 0)
return;
- if (priv->managed)
+ if (priv->managed && !priv->placed)
{
XWindowChanges xwc;
unsigned int xwcm;