aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-01-11 20:43:08 -0800
committerKen Moore <ken@ixsystems.com>2018-01-11 20:43:08 -0800
commit9163f5e496cdb7e94f8e9b3e5b3dcb92ad2ef85f (patch)
tree3f33c9d543e1edadc888a9e2c0a5ba50666107ef
parentGet the panels all setup and functional. (diff)
downloadlumina-9163f5e496cdb7e94f8e9b3e5b3dcb92ad2ef85f.tar.gz
lumina-9163f5e496cdb7e94f8e9b3e5b3dcb92ad2ef85f.tar.bz2
lumina-9163f5e496cdb7e94f8e9b3e5b3dcb92ad2ef85f.zip
Fix up the saving of the current window positions in the backend objects.
-rw-r--r--src-qt5/core/lumina-desktop-unified/src-desktop/src-cpp/NativeWindowObject.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/src-cpp/NativeWindowObject.cpp b/src-qt5/core/lumina-desktop-unified/src-desktop/src-cpp/NativeWindowObject.cpp
index 61a82e5c..dae4676c 100644
--- a/src-qt5/core/lumina-desktop-unified/src-desktop/src-cpp/NativeWindowObject.cpp
+++ b/src-qt5/core/lumina-desktop-unified/src-desktop/src-cpp/NativeWindowObject.cpp
@@ -308,5 +308,8 @@ void NativeWindowObject::emitSinglePropChanged(NativeWindowObject::Property prop
}
void NativeWindowObject::sendNewGeom(){
-requestProperties(QList<NativeWindowObject::Property>() << NativeWindowObject::GlobalPos << NativeWindowObject::Size, QList<QVariant>() << newgeom.topLeft() << newgeom.size());
+ QList<NativeWindowObject::Property> props; props << NativeWindowObject::GlobalPos << NativeWindowObject::Size;
+ QList<QVariant> vals; vals << newgeom.topLeft() << newgeom.size();
+ requestProperties(props, vals);
+ setProperties(props,vals);
}
bgstack15