From c7c44107a616acb6397e7da3cd5a785a0c4e1135 Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Thu, 16 Nov 2023 23:48:24 -0800 Subject: [PATCH] panel: Ensure panel is not floating --- containments/panel/package/contents/ui/main.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/containments/panel/package/contents/ui/main.qml b/containments/panel/package/contents/ui/main.qml index 344055bd..54f88ebf 100644 --- a/containments/panel/package/contents/ui/main.qml +++ b/containments/panel/package/contents/ui/main.qml @@ -27,6 +27,11 @@ ContainmentItem { // filled in by the shell (Panel.qml) with the plasma-workspace PanelView property var panel: null + onPanelChanged: { + if (panel) { + panel.floating = false; + } + } // only opaque if there are no maximized windows on this screen readonly property bool showingApp: WindowPlugin.WindowMaximizedTracker.showingWindow