diff options
author | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2005-11-29 20:05:40 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2005-11-29 20:05:40 +0000 |
commit | 50b0588bbf183c119793a5e9b6368deac59605ac (patch) | |
tree | fba7b54fb76029cad658a2f7da1ac4fc4a5be610 | |
parent | 68810225fbfbe88b110b9fc8c6f6d2715af41d73 (diff) | |
download | metacity-50b0588bbf183c119793a5e9b6368deac59605ac.tar.gz |
*** empty log message ***
-rw-r--r-- | src/compositor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compositor.c b/src/compositor.c index f15b06af..0de461d1 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -934,7 +934,7 @@ minimize_deformation (gdouble time, elapsed = time - info->start_time; pos = elapsed / MINIMIZE_TIME; - *out_x = interpolate (pos, in_x, info->target.x + info->target.width * ((in_x - info->start.x) / info->start.width), 10 * (1 - in_y)); + *out_x = interpolate (pos, in_x, info->target.x + info->target.width * ((in_x - info->start.x) / info->start.width), 10 * in_y); *out_y = interpolate (pos, in_y, info->target.y + info->target.height * ((in_y - info->start.y) / info->start.height), 1.0); if (elapsed > MINIMIZE_TIME) @@ -990,7 +990,7 @@ meta_compositor_minimize (MetaCompositor *compositor, info->window = window; - info->target.y = 1 - info->target.y - info->target.height; + info->target.y = 1 - info->target.y; info->start_time = -1; |