on xenial help sign in
Only show phone stage when a fake active app is open
6b51d61Michael Terry
qml/Shell.qml+2−1
@@ -174,7 +174,8 @@ Item {
174 id: applicationsDisplayLoader
174 id: applicationsDisplayLoader
175 anchors.fill: parent
175 anchors.fill: parent
176
176
177+ // When in the "fakeActiveForApp" mode, we only want to show that one app
177− source: shell.sideStageEnabled ? "Stages/TabletStage.qml" : "Stages/PhoneStage.qml"
178+ source: (shell.sideStageEnabled && greeter.fakeActiveForApp !== "") ? "Stages/TabletStage.qml" : "Stages/PhoneStage.qml"
178
179
179 Binding {
180 Binding {
180 target: applicationsDisplayLoader.item
181 target: applicationsDisplayLoader.item