1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-02 03:28:28 -04:00

listview: workaround delegates overlapping and make spotlight launcher

have a stable anchor

port 1.5
This commit is contained in:
bbedward
2026-07-13 12:30:10 -04:00
parent e4657aa5f9
commit 2cb48aaf6b
5 changed files with 72 additions and 59 deletions
@@ -362,11 +362,12 @@ Item {
WlrLayershell.exclusiveZone: -1
WlrLayershell.keyboardFocus: KeyboardFocus.keyboardFocus(keyboardActive, null)
// Anchored top+bottom: dynamic layer-surface resizes misbehave on some compositors
anchors {
top: true
left: true
right: root.useSingleWindow
bottom: root.useSingleWindow
bottom: true
}
WlrLayershell.margins {
@@ -377,7 +378,6 @@ Item {
}
implicitWidth: root.useSingleWindow ? 0 : root.windowWidth
implicitHeight: root.useSingleWindow ? 0 : root.windowHeight
mask: Region {
item: inputMask