From c88742db98bd038d5cdd13e8b8e4a62645f43c48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Sun, 27 Jan 2013 19:06:45 +0100 Subject: [PATCH] fix copy and paste error setting from because to is invalid is rather wrong --- libkwineffects/kwinanimationeffect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libkwineffects/kwinanimationeffect.cpp b/libkwineffects/kwinanimationeffect.cpp index 5ed4308cba..9709be4517 100644 --- a/libkwineffects/kwinanimationeffect.cpp +++ b/libkwineffects/kwinanimationeffect.cpp @@ -143,7 +143,7 @@ void AnimationEffect::animate( EffectWindow *w, Attribute a, uint meta, int ms, to.set( relative[0] ? to[0] * area.width() : to[0], relative[1] ? to[1] * area.height() : to[1] ); } else { - from.set(w->width(), w->height()); + to.set(w->width(), w->height()); }