on xenial help sign in
update normal geo directly on load
735fd4fNick Dedekind
qml/Stage/WindowStateSaver.qml+5
@@ -43,6 +43,11 @@ QtObject {
43 (target.fullscreen ? 0 : root.leftMargin)); });
43 (target.fullscreen ? 0 : root.leftMargin)); });
44 target.windowedY = Qt.binding(function() { return Math.max(Math.min(windowGeometry.y, screenHeight - target.windowedHeight), minimumY); });
44 target.windowedY = Qt.binding(function() { return Math.max(Math.min(windowGeometry.y, screenHeight - target.windowedHeight), minimumY); });
45
45
46+ target.normalWidth = target.windowedWidth;
47+ target.normalHeight = target.windowedHeight;
48+ target.normalX = target.windowedX;
49+ target.normalY = target.windowedY;
50+
46 target.updateNormalGeometry();
51 target.updateNormalGeometry();
47
52
48 // initialize the x/y to restore to
53 // initialize the x/y to restore to