summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@XPS-FEDORA.(none)>2010-05-03 16:36:07 +0800
committerSam Spilsbury <smspillaz@XPS-FEDORA.(none)>2010-05-03 16:36:07 +0800
commit4428e72ed5686db82fe324b3e1a5e48c6ead2188 (patch)
tree3606c3d6d27f9018b48cafdd253cee503879aa45 /src/window.cpp
parent5eff4e176ed3c12493311ab2edd60bf9c58a4dc7 (diff)
downloadunity-window-decorator-4428e72ed5686db82fe324b3e1a5e48c6ead2188.tar.gz
unity-window-decorator-4428e72ed5686db82fe324b3e1a5e48c6ead2188.tar.bz2
Typofix
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 3854feb..c77789e 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -2887,7 +2887,7 @@ CompWindow::moveResize (XWindowChanges *xwc,
else
{
min -= screen->vp ().x () * screen->width ();
- max += (screen->vpSize ().height () - screen->vp ().x () - 2) *
+ max += (screen->vpSize ().width () - screen->vp ().x () - 2) *
screen->width ();
if (xwc->x < min)