@@ -30,8 +30,7 @@ Item {
30 property bool interactive
30 property bool interactive
32 // State information propagated to the outside
32 // State information propagated to the outside
33− property bool fullscreen: priv.focusedApplication ? priv.focusedApplication.fullscreen : false
34− property bool locked: spreadView.phase == 2
33+ readonly property bool locked: spreadView.phase == 2
36 function select(appId) {
35 function select(appId) {
37 spreadView.snapTo(priv.indexOf(appId))
36 spreadView.snapTo(priv.indexOf(appId))
@@ -54,14 +53,6 @@ Item {
57− onFocusedApplicationIdChanged: {
58− if (ApplicationManager.focusedApplicationId.length > 0) {
59− var application = priv.focusedApplication;
60− root.fullscreen = application.fullscreen;
61− var appIndex = priv.indexOf(application.appId);
65 onApplicationAdded: {
56 onApplicationAdded: {
66 if (spreadView.phase == 2) {
57 if (spreadView.phase == 2) {
67 spreadView.snapTo(ApplicationManager.count - 1);
58 spreadView.snapTo(ApplicationManager.count - 1);
@@ -90,7 +81,6 @@ Item {
91 function switchToApp(appId) {
82 function switchToApp(appId) {
92 if (priv.focusedAppId) {
83 if (priv.focusedAppId) {
93− root.fullscreen = ApplicationManager.findApplication(appId).fullscreen;
94 spreadView.focusChanging = true
84 spreadView.focusChanging = true
95 ApplicationManager.focusApplication(appId);
85 ApplicationManager.focusApplication(appId);
@@ -197,7 +187,6 @@ Item {
197 index = 0;
187 index = 0;
199 spreadView.selectedIndex = index;
189 spreadView.selectedIndex = index;
200− root.fullscreen = ApplicationManager.get(index).fullscreen;
201 // If we're not in full spread mode yet, always unwind to start pos
190 // If we're not in full spread mode yet, always unwind to start pos
202 // otherwise unwind up to progress 0 of the selected index
191 // otherwise unwind up to progress 0 of the selected index
203 if (spreadView.phase < 2) {
192 if (spreadView.phase < 2) {