@@ -167,6 +167,16 @@ Rectangle {
171+ function isAnyMaximized() {
172+ for (var i = 0; i < appRepeater.count; i++) {
173+ var appDelegate = appRepeater.itemAt(i);
174+ if (appDelegate && appDelegate.maximized) {
172 Connections {
182 Connections {
@@ -200,6 +210,12 @@ Rectangle {
200 when: priv.focusedAppDelegate
210 when: priv.focusedAppDelegate
215+ property: "dropShadow"
216+ value: priv.focusedAppDelegate && !priv.focusedAppDelegate.maximized && priv.isAnyMaximized()
203 Component.onDestruction: PanelState.buttonsVisible = false;
219 Component.onDestruction: PanelState.buttonsVisible = false;
205 FocusScope {
221 FocusScope {