internal: remove workaround for hyprland bug

This commit is contained in:
2 * r + 2 * t 2025-09-15 22:06:54 +10:00
parent d1ad000a8e
commit 3a9db3d163
2 changed files with 14 additions and 24 deletions

View file

@ -130,32 +130,25 @@ Variants {
panels: panels panels: panels
bar: bar bar: bar
// FIXME: remove when Hyprland bug fixed Panels {
Item { id: panels
anchors.fill: parent
anchors.rightMargin: 1
anchors.bottomMargin: 1
Panels { screen: scope.modelData
id: panels visibilities: visibilities
bar: bar
}
screen: scope.modelData BarWrapper {
visibilities: visibilities id: bar
bar: bar
}
BarWrapper { anchors.top: parent.top
id: bar anchors.bottom: parent.bottom
anchors.top: parent.top screen: scope.modelData
anchors.bottom: parent.bottom visibilities: visibilities
popouts: panels.popouts
screen: scope.modelData Component.onCompleted: Visibilities.bars.set(scope.modelData, this)
visibilities: visibilities
popouts: panels.popouts
Component.onCompleted: Visibilities.bars.set(scope.modelData, this)
}
} }
} }
} }

View file

@ -54,9 +54,6 @@ CustomMouseArea {
} }
anchors.fill: parent anchors.fill: parent
// FIXME: remove when Hyprland bug fixed
anchors.rightMargin: -1
anchors.bottomMargin: -1
hoverEnabled: true hoverEnabled: true
onPressed: event => dragStart = Qt.point(event.x, event.y) onPressed: event => dragStart = Qt.point(event.x, event.y)