on xenial help sign in
removed foregroundMaximizedAppId
5084e24Nick Dedekind
qml/Stages/DesktopStage.qml−3
@@ -68,7 +68,6 @@ AbstractStage {
68 var index = indexOf(focusedAppId);
68 var index = indexOf(focusedAppId);
69 return index >= 0 && index < appRepeater.count ? appRepeater.itemAt(index) : null
69 return index >= 0 && index < appRepeater.count ? appRepeater.itemAt(index) : null
70 }
70 }
71− property string foregroundMaximizedAppId: ""
72 property int foregroundMaximizedAppIdIndex: -1
71 property int foregroundMaximizedAppIdIndex: -1
73
72
74 function updateForegroundMaximizedApp() {
73 function updateForegroundMaximizedApp() {
@@ -79,13 +78,11 @@ AbstractStage {
79 var app = ApplicationManager.get(i);
78 var app = ApplicationManager.get(i);
80 if (app) {
79 if (app) {
81 foregroundMaximizedAppIdIndex = i;
80 foregroundMaximizedAppIdIndex = i;
82− foregroundMaximizedAppId = app.appId;
83 return;
81 return;
84 }
82 }
85 }
83 }
86 }
84 }
87 foregroundMaximizedAppIdIndex = -1;
85 foregroundMaximizedAppIdIndex = -1;
88− foregroundMaximizedAppId = "";
89 }
86 }
90
87
91 function indexOf(appId) {
88 function indexOf(appId) {