diff options
author | Ken Moore <ken@ixsystems.com> | 2018-01-11 20:43:08 -0800 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2018-01-11 20:43:08 -0800 |
commit | 9163f5e496cdb7e94f8e9b3e5b3dcb92ad2ef85f (patch) | |
tree | 3f33c9d543e1edadc888a9e2c0a5ba50666107ef /src-qt5/core/lumina-desktop-unified | |
parent | Get the panels all setup and functional. (diff) | |
download | lumina-9163f5e496cdb7e94f8e9b3e5b3dcb92ad2ef85f.tar.gz lumina-9163f5e496cdb7e94f8e9b3e5b3dcb92ad2ef85f.tar.bz2 lumina-9163f5e496cdb7e94f8e9b3e5b3dcb92ad2ef85f.zip |
Fix up the saving of the current window positions in the backend objects.
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified')
-rw-r--r-- | src-qt5/core/lumina-desktop-unified/src-desktop/src-cpp/NativeWindowObject.cpp | 5 |
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); } |