aboutsummaryrefslogtreecommitdiff
path: root/lumina-wm-INCOMPLETE/LWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-wm-INCOMPLETE/LWindow.cpp')
-rw-r--r--lumina-wm-INCOMPLETE/LWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-wm-INCOMPLETE/LWindow.cpp b/lumina-wm-INCOMPLETE/LWindow.cpp
index d6ad188c..9d9f9fcd 100644
--- a/lumina-wm-INCOMPLETE/LWindow.cpp
+++ b/lumina-wm-INCOMPLETE/LWindow.cpp
@@ -222,11 +222,11 @@ void LWindow::showAnimation(LWM::WindowAction act){
//Setup the animation routine
if(act==LWM::Show){
if(useanimation){
- if(lastGeom.isEmpty()){ lastGeom = this->geometry(); } //such as for a first showing
+ lastGeom = this->geometry();
//Expand out from center point
anim->setPropertyName("geometry");
anim->setStartValue( QRect(lastGeom.center(), QSize(0,0) ) );
- anim->setEndValue( QRect(lastGeom) );
+ anim->setEndValue( this->geometry() );
//Fade in gradually
//anim->setPropertyName("windowOpacity");
//anim->setStartValue( 0.0 );
bgstack15