@@ -253,7 +253,8 @@ AbstractStage {
253 // to calculate occlusion detection
253 // to calculate occlusion detection
254 property int normalZ: ApplicationManager.count - index
254 property int normalZ: ApplicationManager.count - index
255 z: normalZ
255 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)
257 focus: appId === priv.focusedAppId
258 focus: appId === priv.focusedAppId
258 width: decoratedWindow.width
259 width: decoratedWindow.width
259 height: decoratedWindow.height
260 height: decoratedWindow.height