internal: fix exclusion zones for quickshell update

This commit is contained in:
2 * r + 2 * t 2025-05-23 21:53:34 +08:00
parent 5c5c069b4b
commit 44f0b2928e
2 changed files with 6 additions and 11 deletions

View file

@ -15,6 +15,7 @@ Variants {
name: "bar" name: "bar"
implicitWidth: content.implicitWidth implicitWidth: content.implicitWidth
exclusiveZone: content.implicitWidth
anchors.top: true anchors.top: true
anchors.bottom: true anchors.bottom: true

View file

@ -10,30 +10,24 @@ Scope {
required property ShellScreen screen required property ShellScreen screen
ExclusionZone { ExclusionZone {
anchors.left: false anchors.left: true
} }
ExclusionZone { ExclusionZone {
anchors.top: false anchors.top: true
} }
ExclusionZone { ExclusionZone {
anchors.right: false anchors.right: true
} }
ExclusionZone { ExclusionZone {
anchors.bottom: false anchors.bottom: true
} }
component ExclusionZone: StyledWindow { component ExclusionZone: StyledWindow {
screen: root.screen screen: root.screen
name: "border-exclusion" name: "border-exclusion"
implicitWidth: BorderConfig.thickness exclusiveZone: BorderConfig.thickness
implicitHeight: BorderConfig.thickness
anchors.top: true
anchors.left: true
anchors.bottom: true
anchors.right: true
} }
} }