aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-06-29 14:50:28 -0400
committerKen Moore <ken@ixsystems.com>2017-06-29 14:50:28 -0400
commitaff9df01be61d2fb969ba38ba8c5721fac8384f6 (patch)
treeca1e8020f71dc75fefd3d9a24c1b0cb93bd70565 /src-qt5/core
parentAdd an animation finished routine so we can re-load any Window settings which... (diff)
downloadlumina-aff9df01be61d2fb969ba38ba8c5721fac8384f6.tar.gz
lumina-aff9df01be61d2fb969ba38ba8c5721fac8384f6.tar.bz2
lumina-aff9df01be61d2fb969ba38ba8c5721fac8384f6.zip
Fix up the animation finished routine - should work fine now
Diffstat (limited to 'src-qt5/core')
-rw-r--r--src-qt5/core/libLumina/RootSubWindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/RootSubWindow.cpp b/src-qt5/core/libLumina/RootSubWindow.cpp
index d5a2795d..2e773e9d 100644
--- a/src-qt5/core/libLumina/RootSubWindow.cpp
+++ b/src-qt5/core/libLumina/RootSubWindow.cpp
@@ -325,7 +325,10 @@ void RootSubWindow::propertiesChanged(QList<NativeWindow::Property> props, QList
}
void RootSubWindow::animFinished(){
- if(anim->propertyName()=="geometry"){ this->setGeometry(this->geometry()); } //make sure to send one more resize/move event
+ if(anim->propertyName()=="geometry"){
+ WIN->requestProperty(NativeWindow::Size, WinWidget->size());
+ WIN->setProperty(NativeWindow::GlobalPos, WinWidget->mapToGlobal(QPoint(0,0)) );
+ }
}
bgstack15