on xenial help sign in
allow rotating when there is no app focused
commite20bd7b611b1663c8ec7db1ad8df45638fedda24 authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 7 Nov 2016, 14:44 (10 years ago) parentac109a8
1 file changed+1−1
qml/Stage/Stage.qml+1−1
qml/Stage/Stage.qml+1−1
@@ -64,7 +64,7 @@ FocusScope {
6464 // application windows never rotate independently
6565 property int mainAppWindowOrientationAngle: shellOrientationAngle
6666
67− property bool orientationChangesEnabled: priv.focusedAppDelegate && priv.focusedAppDelegate.orientationChangesEnabled
67+ property bool orientationChangesEnabled: !priv.focusedAppDelegate || priv.focusedAppDelegate.orientationChangesEnabled
6868
6969 property int supportedOrientations: {
7070 if (mainApp) {