on xenial help sign in
Don't bother checking screen size
c31ba8dMichael Terry
qml/OrientedShell.qml+2−2
@@ -103,8 +103,8 @@ Rectangle {
103 root.unity8Settings.usageMode = "Staged";
103 root.unity8Settings.usageMode = "Staged";
104 }
104 }
105 } else {
105 } else {
106− var longEdgeWidth = Math.max(Screen.width, Screen.height);
106+ var longEdgeWidth = Math.max(root.width, root.height)
107− if (longEdgeWidth > units.gu(90)) {
107+ if (longEdgeWidth > units.gu(90)){
108 if (pointerInputDevices > 0 && pointerInputDevices > miceModel.oldCount + touchPadModel.oldCount) {
108 if (pointerInputDevices > 0 && pointerInputDevices > miceModel.oldCount + touchPadModel.oldCount) {
109 root.unity8Settings.usageMode = "Windowed";
109 root.unity8Settings.usageMode = "Windowed";
110 }
110 }