on xenial help sign in
fix lifecycle for tablet too
commitd025bc57d757cf4e963d455f4fecb26f7cf3377e authorMichael Zanetti <michael.zanetti@canonical.com> dateTue 30 Aug 2016, 14:49 (10 years ago) parent5a252fb
1 file changed+3−1
qml/Stage/Stage.qml+3−1
qml/Stage/Stage.qml+3−1
@@ -306,7 +306,9 @@ AbstractStage {
306306 // resume all those apps at once. We might want to avoid that.
307307 value: root.mode === "windowed"
308308 || (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))
310312 ? ApplicationInfoInterface.RequestedRunning
311313 : ApplicationInfoInterface.RequestedSuspended
312314 }