summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2009-08-07 03:51:57 +0200
committerDennis kasprzyk <onestone@compiz-fusion.org>2009-08-07 03:51:57 +0200
commitf8b4fbdff2156f6e5c5e3c8b148f21d63f0e8fbb (patch)
tree8e11608a1bdd2b89707c933c04090b70be84d8e0 /src
parentc6ac4ae65843db01c00f2125df634006a4df4a7f (diff)
downloadzcomp-f8b4fbdff2156f6e5c5e3c8b148f21d63f0e8fbb.tar.gz
zcomp-f8b4fbdff2156f6e5c5e3c8b148f21d63f0e8fbb.tar.bz2
Don't update region if geometry is not in sync.
Diffstat (limited to 'src')
-rw-r--r--src/window.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index fa431c6..fc4df0c 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -5186,7 +5186,8 @@ CompWindow::updateFrameRegion ()
int x, y;
if ((priv->input.left || priv->input.right ||
- priv->input.top || priv->input.bottom) && priv->frame)
+ priv->input.top || priv->input.bottom) && priv->frame &&
+ priv->serverGeometry == priv->geometry)
{
priv->frameRegion = CompRegion ();