summaryrefslogtreecommitdiff
path: root/src/windowgeometry.cpp
diff options
context:
space:
mode:
authorangel <angel@heaven.net>2010-07-29 18:31:46 +0300
committerangel <angel@heaven.net>2010-07-29 18:31:46 +0300
commita16fa16b718c57903033e534503e55cb21faaf11 (patch)
tree876b0f6c2fb9a1413dea5998ecd1a18180de9844 /src/windowgeometry.cpp
parent3cb3e313a9a24685a85d3004b845908a103259b4 (diff)
downloadzcomp-a16fa16b718c57903033e534503e55cb21faaf11.tar.gz
zcomp-a16fa16b718c57903033e534503e55cb21faaf11.tar.bz2
added --zcomp flag to disable wm, fixed border width calculation
Diffstat (limited to 'src/windowgeometry.cpp')
-rw-r--r--src/windowgeometry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/windowgeometry.cpp b/src/windowgeometry.cpp
index 1bbefd6..3b8ac76 100644
--- a/src/windowgeometry.cpp
+++ b/src/windowgeometry.cpp
@@ -166,9 +166,9 @@ CompWindow::inputRect () const
{
return CompRect (priv->geometry.x () - priv->input.left,
priv->geometry.y () - priv->input.top,
- priv->geometry.width () +
+ priv->width + //priv->geometry.width () +
priv->input.left + priv->input.right,
- priv->geometry.height () +
+ priv->height + //priv->geometry.height () +
priv->input.top + priv->input.bottom);
}