fixup focusing and key handling in volpopup by moving it to a wlrlayershell
This commit is contained in:
parent
50a9a62a2d
commit
6f2bc1a107
4 changed files with 47 additions and 25 deletions
|
|
@ -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 {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue