From 44f0b2928eecbe8830a9bb5793ea8a34d33a87f4 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 23 May 2025 21:53:34 +0800 Subject: internal: fix exclusion zones for quickshell update --- modules/bar/Bar.qml | 1 + modules/drawers/Exclusions.qml | 16 +++++----------- 2 files changed, 6 insertions(+), 11 deletions(-) (limited to 'modules') diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml index 3e749f7..8860e47 100644 --- a/modules/bar/Bar.qml +++ b/modules/bar/Bar.qml @@ -15,6 +15,7 @@ Variants { name: "bar" implicitWidth: content.implicitWidth + exclusiveZone: content.implicitWidth anchors.top: true anchors.bottom: true diff --git a/modules/drawers/Exclusions.qml b/modules/drawers/Exclusions.qml index e73a6a9..8ad23a2 100644 --- a/modules/drawers/Exclusions.qml +++ b/modules/drawers/Exclusions.qml @@ -10,30 +10,24 @@ Scope { required property ShellScreen screen ExclusionZone { - anchors.left: false + anchors.left: true } ExclusionZone { - anchors.top: false + anchors.top: true } ExclusionZone { - anchors.right: false + anchors.right: true } ExclusionZone { - anchors.bottom: false + anchors.bottom: true } component ExclusionZone: StyledWindow { screen: root.screen name: "border-exclusion" - implicitWidth: BorderConfig.thickness - implicitHeight: BorderConfig.thickness - - anchors.top: true - anchors.left: true - anchors.bottom: true - anchors.right: true + exclusiveZone: BorderConfig.thickness } } -- cgit v1.2.3-freya