on xenial help sign in
Unity8 windows now cascade instead of opening all in the top left corner Fixes: #1513813

Approved by: Lukáš Tinkl

commita3512b05dc4128d477bab5ebeb53ccdca0217fb4 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateWed 27 Apr 2016, 14:56 (10 years ago) parentea8906f6b9b0a3
1 file changed+2−1
qml/Stages/DesktopStage.qml+2−1
qml/Stages/DesktopStage.qml+2−1
@@ -255,7 +255,8 @@ AbstractStage {
255255 }
256256 }
257257 z: normalZ
258− y: PanelState.panelHeight
258+ x: priv.focusedAppDelegate ? priv.focusedAppDelegate.x + units.gu(3) : (normalZ - 1) * units.gu(3)
259+ y: priv.focusedAppDelegate ? priv.focusedAppDelegate.y + units.gu(3) : normalZ * units.gu(3)
259260
260261 width: decoratedWindow.width
261262 height: decoratedWindow.height