summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/move.c
diff options
context:
space:
mode:
authormaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-11-15 09:14:43 +0000
committermaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-11-15 09:14:43 +0000
commit566226b07d004560ff1fadcf03008dbbe04d0a7b (patch)
tree294633a0ce832f37293f7ef0b79ba8b8320700d9 /beryl-plugins/src/move.c
parentaf89bc1dc7acd9e5c92eea8e519c8ce7de794451 (diff)
downloadmarex-dev-566226b07d004560ff1fadcf03008dbbe04d0a7b.tar.gz
marex-dev-566226b07d004560ff1fadcf03008dbbe04d0a7b.tar.bz2
move plugin: fix typo (sorry)
git-svn-id: file:///beryl/trunk@1210 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/move.c')
-rw-r--r--beryl-plugins/src/move.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/beryl-plugins/src/move.c b/beryl-plugins/src/move.c
index 93179fc..1fd208d 100644
--- a/beryl-plugins/src/move.c
+++ b/beryl-plugins/src/move.c
@@ -338,7 +338,7 @@ moveHandleMotionEvent (CompScreen * s, int xRoot, int yRoot)
}
else if (ms->origState & CompWindowStateMaximizedVertMask)
{
- if ((yRoot workArea.y) - ms->snapBackY <
+ if ((yRoot - workArea.y) - ms->snapBackY <
md->opt[MOVE_DISPLAY_OPTION_SNAPBACK_DISTANCE].value.i)
{
if (!otherScreenGrabExist (s, "move", 0))