on xenial help sign in
load/init the values in every case
commitef236c56844b3c66acf6446896a35ba9be4658ff authorLukáš Tinkl <lukas.tinkl@canonical.com> dateThu 23 Feb 2017, 12:46 (10 years ago) parent9b7aa95
1 file changed+3
qml/Stage/Stage.qml+3
qml/Stage/Stage.qml+3
@@ -977,6 +977,9 @@ FocusScope {
977977 // Now load any saved state. This needs to happen *after* the cascading!
978978 delayedStateTimer.windowState = WindowStateStorage.toMirState(windowStateSaver.load());
979979 delayedStateTimer.restart();
980+ } else {
981+ // just load and init the windowedX/Y/Width/Height values
982+ windowStateSaver.load();
980983 }
981984
982985 updateQmlFocusFromMirSurfaceFocus();