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

View file

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