From 9163f5e496cdb7e94f8e9b3e5b3dcb92ad2ef85f Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 11 Jan 2018 20:43:08 -0800 Subject: Fix up the saving of the current window positions in the backend objects. --- .../src-desktop/src-cpp/NativeWindowObject.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src-qt5/core/lumina-desktop-unified') 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::GlobalPos << NativeWindowObject::Size, QList() << newgeom.topLeft() << newgeom.size()); + QList props; props << NativeWindowObject::GlobalPos << NativeWindowObject::Size; + QList vals; vals << newgeom.topLeft() << newgeom.size(); + requestProperties(props, vals); + setProperties(props,vals); } -- cgit