summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2010-12-07 21:24:33 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2010-12-07 21:24:33 +0800
commit02de46187bc49606d19f950be7839a492052e292 (patch)
tree20db1c1ea1144e142dba1a338f239ee5445aa0fd
parent964dc2bf03c2a1b3401e0bd9f99d880cd1e3e5c5 (diff)
downloadcompiz-with-glib-mainloop-02de46187bc49606d19f950be7839a492052e292.tar.gz
compiz-with-glib-mainloop-02de46187bc49606d19f950be7839a492052e292.tar.bz2
resize: Fix typo
-rw-r--r--plugins/resize/src/resize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/resize/src/resize.cpp b/plugins/resize/src/resize.cpp
index ecf57ba..ac06f67 100644
--- a/plugins/resize/src/resize.cpp
+++ b/plugins/resize/src/resize.cpp
@@ -757,7 +757,7 @@ ResizeScreen::handleMotionEvent (int xRoot, int yRoot)
int decorBottom = savedGeometry.y + che + w->input ().bottom;
if (decorBottom > screen->height ())
- che -= decorBottom = screen->height ();
+ che -= decorBottom - screen->height ();
}
if (mask & ResizeLeftMask && offScreenConstrained)