summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-06-09 22:59:44 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-06-09 22:59:44 +0800
commit291627c9602d0c6e33cc29d75bcab9633863a631 (patch)
tree5f39f66c7eed9d5d82bb2a1cce7fa50e0b6d472e /src
parent6fc939dca0ff1e54ce2bfe7ac6a233026fb56f05 (diff)
parent9dfc10833674daeda42f06692a8710b630ce5b1d (diff)
downloadmobilebling-291627c9602d0c6e33cc29d75bcab9633863a631.tar.gz
mobilebling-291627c9602d0c6e33cc29d75bcab9633863a631.tar.bz2
Fixes LP#795065
------------- This line and the following will be ignored -------------- modified: src/window.cpp unknown: build/ po/compiz.pot pending merges: Sam Spilsbury 2011-05-25 Fix events going to frame windows when they sho...
Diffstat (limited to 'src')
-rw-r--r--src/window.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 7262c70..87e2316 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -1342,6 +1342,15 @@ CompWindow::unmap ()
if (priv->mapNum)
priv->mapNum = 0;
+ /* Even though we're still keeping the backing
+ * pixmap of the window around, it's safe to
+ * unmap the frame window since there's no use
+ * for it at this point anyways and it just blocks
+ * input */
+
+ XUnmapWindow (screen->dpy (), priv->wrapper);
+ XUnmapWindow (screen->dpy (), priv->frame);
+
priv->unmapRefCnt--;
if (priv->unmapRefCnt > 0)
return;