Only show phone stage when a fake active app is open
commit6b51d6132f3ec4448ef2df11e3f316e73c45a7a5
authorMichael Terry <michael.terry@canonical.com>
dateWed 10 Sep 2014, 11:15 (12 years ago)
parent0f0da0f
qml/Shell.qml+2−1
@@ -174,7 +174,8 @@ Item {
174174 id: applicationsDisplayLoader
175175 anchors.fill: parent
176176
177− source: shell.sideStageEnabled ? "Stages/TabletStage.qml" : "Stages/PhoneStage.qml"
177+ // When in the "fakeActiveForApp" mode, we only want to show that one app
178+ source: (shell.sideStageEnabled && greeter.fakeActiveForApp !== "") ? "Stages/TabletStage.qml" : "Stages/PhoneStage.qml"
178179
179180 Binding {
180181 target: applicationsDisplayLoader.item