summaryrefslogtreecommitdiff
path: root/src/windowgeometry.cpp
diff options
context:
space:
mode:
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);
}