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"
implicitWidth: content.implicitWidth
exclusiveZone: content.implicitWidth
anchors.top: true
anchors.bottom: true

View file

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