From 50b0588bbf183c119793a5e9b6368deac59605ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Tue, 29 Nov 2005 20:05:40 +0000 Subject: *** empty log message *** --- src/compositor.c | 4 ++-- 1 file 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; -- cgit v1.2.1