on xenial help sign in
fix fullscreen in certain corner cases, disable right edge if only one app running
commitef7bab51d1344c7a609bbe30eda46641205479f3 authorMichael Zanetti <michael.zanetti@canonical.com> dateTue 4 Feb 2014, 22:16 (13 years ago) parent8df8725
1 file changed+4−1
qml/Stages/PhoneStage.qml+4−1
qml/Stages/PhoneStage.qml+4−1
@@ -47,7 +47,9 @@ Item {
4747 if (priv.secondApplicationStarting || priv.applicationStarting) {
4848 appSplashTimer.start();
4949 } else {
50− mainScreenshotImage.src = ApplicationManager.findApplication(ApplicationManager.focusedApplicationId).screenshot
50+ var application = ApplicationManager.findApplication(ApplicationManager.focusedApplicationId)
51+ root.fullscreen = application.fullscreen
52+ mainScreenshotImage.src = application.screenshot
5153 }
5254 }
5355 }
@@ -194,6 +196,7 @@ Item {
194196 EdgeDragArea {
195197 id: spreadDragArea
196198 direction: Direction.Leftwards
199+ enabled: ApplicationManager.count > 1
197200
198201 anchors { top: parent.top; right: parent.right; bottom: parent.bottom }
199202 width: root.dragAreaWidth