on xenial help sign in
fix lifecycle for tablet too
d025bc5Michael Zanetti
qml/Stage/Stage.qml+3−1
@@ -306,7 +306,9 @@ AbstractStage {
306 // resume all those apps at once. We might want to avoid that.
306 // resume all those apps at once. We might want to avoid that.
307 value: root.mode === "windowed"
307 value: root.mode === "windowed"
308 || (isDash && root.keepDashRunning)
308 || (isDash && root.keepDashRunning)
309− || (!root.suspended && model.application && priv.focusedAppDelegate.appId === model.application.appId)
309+ || (!root.suspended && model.application && (priv.focusedAppDelegate.appId === model.application.appId ||
310+ priv.mainStageAppId === model.application.appId ||
311+ priv.sideStageAppId === model.application.appId))
310 ? ApplicationInfoInterface.RequestedRunning
312 ? ApplicationInfoInterface.RequestedRunning
311 : ApplicationInfoInterface.RequestedSuspended
313 : ApplicationInfoInterface.RequestedSuspended
312 }
314 }