on xenial help sign in
fix fullscreen in certain corner cases, disable right edge if only one app running
ef7bab5Michael Zanetti
qml/Stages/PhoneStage.qml+4−1
@@ -47,7 +47,9 @@ Item {
47 if (priv.secondApplicationStarting || priv.applicationStarting) {
47 if (priv.secondApplicationStarting || priv.applicationStarting) {
48 appSplashTimer.start();
48 appSplashTimer.start();
49 } else {
49 } 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
51 }
53 }
52 }
54 }
53 }
55 }
@@ -194,6 +196,7 @@ Item {
194 EdgeDragArea {
196 EdgeDragArea {
195 id: spreadDragArea
197 id: spreadDragArea
196 direction: Direction.Leftwards
198 direction: Direction.Leftwards
199+ enabled: ApplicationManager.count > 1
197
200
198 anchors { top: parent.top; right: parent.right; bottom: parent.bottom }
201 anchors { top: parent.top; right: parent.right; bottom: parent.bottom }
199 width: root.dragAreaWidth
202 width: root.dragAreaWidth