summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-15 22:06:54 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-15 22:06:54 +1000
commit3a9db3d163a14c3e7d4cc060242eb73841b686f9 (patch)
tree0897baa9bd04cc18e2b48e8c72ce5edc77890082 /modules
parentinternal: fix null warnings (diff)
downloadcaelestia-shell-3a9db3d163a14c3e7d4cc060242eb73841b686f9.tar.gz
caelestia-shell-3a9db3d163a14c3e7d4cc060242eb73841b686f9.tar.bz2
caelestia-shell-3a9db3d163a14c3e7d4cc060242eb73841b686f9.zip
internal: remove workaround for hyprland bug
Diffstat (limited to 'modules')
-rw-r--r--modules/drawers/Drawers.qml35
-rw-r--r--modules/drawers/Interactions.qml3
2 files changed, 14 insertions, 24 deletions
diff --git a/modules/drawers/Drawers.qml b/modules/drawers/Drawers.qml
index f0ef042..5e5e992 100644
--- a/modules/drawers/Drawers.qml
+++ b/modules/drawers/Drawers.qml
@@ -130,32 +130,25 @@ Variants {
panels: panels
bar: bar
- // FIXME: remove when Hyprland bug fixed
- Item {
- anchors.fill: parent
- anchors.rightMargin: 1
- anchors.bottomMargin: 1
+ Panels {
+ id: panels
- Panels {
- id: panels
-
- screen: scope.modelData
- visibilities: visibilities
- bar: bar
- }
+ screen: scope.modelData
+ visibilities: visibilities
+ bar: bar
+ }
- BarWrapper {
- id: bar
+ BarWrapper {
+ id: bar
- anchors.top: parent.top
- anchors.bottom: parent.bottom
+ anchors.top: parent.top
+ anchors.bottom: parent.bottom
- screen: scope.modelData
- visibilities: visibilities
- popouts: panels.popouts
+ screen: scope.modelData
+ visibilities: visibilities
+ popouts: panels.popouts
- Component.onCompleted: Visibilities.bars.set(scope.modelData, this)
- }
+ Component.onCompleted: Visibilities.bars.set(scope.modelData, this)
}
}
}
diff --git a/modules/drawers/Interactions.qml b/modules/drawers/Interactions.qml
index c76ce82..4eb46a5 100644
--- a/modules/drawers/Interactions.qml
+++ b/modules/drawers/Interactions.qml
@@ -54,9 +54,6 @@ CustomMouseArea {
}
anchors.fill: parent
- // FIXME: remove when Hyprland bug fixed
- anchors.rightMargin: -1
- anchors.bottomMargin: -1
hoverEnabled: true
onPressed: event => dragStart = Qt.point(event.x, event.y)