on xenial help sign in
cascade windows
commitf7e85f6b4d0b297adc284388c45782bc887e45d9 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateThu 24 Mar 2016, 12:36 (11 years ago) parent059d05e
1 file changed+2−1
qml/Stages/DesktopStage.qml+2−1
qml/Stages/DesktopStage.qml+2−1
@@ -253,7 +253,8 @@ AbstractStage {
253253 // to calculate occlusion detection
254254 property int normalZ: ApplicationManager.count - index
255255 z: normalZ
256− y: PanelState.panelHeight
256+ x: priv.focusedAppDelegate ? priv.focusedAppDelegate.x + units.gu(3) : (normalZ - 1) * units.gu(3)
257+ y: priv.focusedAppDelegate ? priv.focusedAppDelegate.y + units.gu(3) : normalZ * units.gu(3)
257258 focus: appId === priv.focusedAppId
258259 width: decoratedWindow.width
259260 height: decoratedWindow.height