1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-13 00:42:49 -05:00

powermenu: use consistent new-style on locker + greeter

fixes #739
This commit is contained in:
bbedward
2025-11-16 15:05:06 -05:00
parent 2e6dbedb8b
commit ea9b0d2a79
8 changed files with 500 additions and 733 deletions

View File

@@ -72,6 +72,13 @@ DankPopout {
screen: triggerScreen
shouldBeVisible: false
WlrLayershell.keyboardFocus: {
if (!shouldBeVisible) return WlrKeyboardFocus.None
if (powerMenuOpen) return WlrKeyboardFocus.None
if (CompositorService.isHyprland) return WlrKeyboardFocus.OnDemand
return WlrKeyboardFocus.Exclusive
}
onBackgroundClicked: close()
onShouldBeVisibleChanged: {