panel: Ensure panel is not floating

This commit is contained in:
Devin Lin 2023-11-16 23:48:24 -08:00
parent a6fd7ef82b
commit c7c44107a6

View file

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