fixup focusing and key handling in volpopup by moving it to a wlrlayershell

This commit is contained in:
lucy 2026-08-28 16:55:28 +02:00
commit 6f2bc1a107
4 changed files with 47 additions and 25 deletions

View file

@ -16,6 +16,7 @@ Variants {
left: true
right: true
}
color: 'transparent'
implicitHeight: Config.cfg.bar.height
margins.top: Config.cfg.bar.floating ? 10 : 0
@ -49,7 +50,7 @@ Variants {
screenHeight: root.screen.height
}
Pw {}
Pw {barScreen: root.modelData}
Netstatus {}
}
}

View file

@ -8,6 +8,7 @@ import qs.settings
import qs.modules.Services
BarComponent {
required property ShellScreen barScreen
id: root
active: clickHandler.containsMouse
implicitWidth: pwLayout.implicitWidth + 16
@ -32,7 +33,7 @@ BarComponent {
onClicked: volPopup.visible = !volPopup.visible
}
VolPopup {
barScreen: root.barScreen
id: volPopup
anchor.item: root
}
}