summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flyin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/flyin.c b/flyin.c
index 7aaceba..695f9c6 100644
--- a/flyin.c
+++ b/flyin.c
@@ -71,14 +71,14 @@ applyFlyinTransform (CompWindow *w)
break;
case 2:
offsetX = 0;
- offsetY = animGetF (w, ANIMSIM_SCREEN_OPTION_FLYIN_DISTANCE);
+ offsetY = -animGetF (w, ANIMSIM_SCREEN_OPTION_FLYIN_DISTANCE);
break;
case 3:
- offsetX = animGetF (w, ANIMSIM_SCREEN_OPTION_FLYIN_DISTANCE);
+ offsetX = -animGetF (w, ANIMSIM_SCREEN_OPTION_FLYIN_DISTANCE);
offsetY = 0;
break;
case 4:
- offsetX = -animGetF (w, ANIMSIM_SCREEN_OPTION_FLYIN_DIRECTION_X);
+ offsetX = animGetF (w, ANIMSIM_SCREEN_OPTION_FLYIN_DIRECTION_X);
offsetY = animGetF (w, ANIMSIM_SCREEN_OPTION_FLYIN_DIRECTION_Y);
break;
}