diff options
author | Ken Moore <moorekou@gmail.com> | 2015-09-10 12:42:51 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-09-10 12:42:51 -0400 |
commit | bb2331a3c1ffe1709abc77a681b106218e16a128 (patch) | |
tree | 3ee1873ef6be400ef438d4c352c6f3ae780b7f4d /lumina-wm-INCOMPLETE/LWindow.cpp | |
parent | Adjust the name within the lumina-info app registration file - no need to hav... (diff) | |
download | lumina-bb2331a3c1ffe1709abc77a681b106218e16a128.tar.gz lumina-bb2331a3c1ffe1709abc77a681b106218e16a128.tar.bz2 lumina-bb2331a3c1ffe1709abc77a681b106218e16a128.zip |
Couple minor adjustments to the lumina-wm window routines.
Diffstat (limited to 'lumina-wm-INCOMPLETE/LWindow.cpp')
-rw-r--r-- | lumina-wm-INCOMPLETE/LWindow.cpp | 4 |
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 ); |