From 434e31d8304e2b404129f2f7e52a9a5ea5d6f70b Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 4 Jun 2025 19:16:17 +1000 Subject: internal: use panelwindow Using WlrLayershell broke for newer versions of qs --- modules/background/Background.qml | 4 ++-- modules/drawers/Drawers.qml | 4 ++-- widgets/StyledWindow.qml | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/modules/background/Background.qml b/modules/background/Background.qml index ca3aaff..11c9151 100644 --- a/modules/background/Background.qml +++ b/modules/background/Background.qml @@ -12,8 +12,8 @@ Variants { screen: modelData name: "background" - exclusionMode: ExclusionMode.Ignore - layer: WlrLayer.Background + WlrLayershell.exclusionMode: ExclusionMode.Ignore + WlrLayershell.layer: WlrLayer.Background color: "black" anchors.top: true diff --git a/modules/drawers/Drawers.qml b/modules/drawers/Drawers.qml index fab1995..3aabc48 100644 --- a/modules/drawers/Drawers.qml +++ b/modules/drawers/Drawers.qml @@ -25,8 +25,8 @@ Variants { screen: scope.modelData name: "drawers" - exclusionMode: ExclusionMode.Ignore - keyboardFocus: visibilities.launcher || visibilities.session ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None + WlrLayershell.exclusionMode: ExclusionMode.Ignore + WlrLayershell.keyboardFocus: visibilities.launcher || visibilities.session ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None mask: Region { x: BorderConfig.thickness diff --git a/widgets/StyledWindow.qml b/widgets/StyledWindow.qml index d67bcd2..67280b6 100644 --- a/widgets/StyledWindow.qml +++ b/widgets/StyledWindow.qml @@ -1,10 +1,11 @@ import "root:/utils" import "root:/config" +import Quickshell import Quickshell.Wayland -WlrLayershell { +PanelWindow { required property string name - namespace: `caelestia-${name}` + WlrLayershell.namespace: `caelestia-${name}` color: "transparent" } -- cgit v1.2.3-freya