@@ -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