1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-11 23:09:42 -04:00

(SystemUpdate): Ensure Polkit Prompts Top Level Auth layer

This commit is contained in:
purian23
2026-05-07 16:17:12 -04:00
parent 7fb4b6e0d9
commit 0d3eb774e2
2 changed files with 223 additions and 198 deletions

View File

@@ -33,6 +33,16 @@ DankPopout {
return WlrKeyboardFocus.Exclusive;
}
Connections {
target: PolkitService.agent
enabled: PolkitService.polkitAvailable && triggerScreen !== null
function onAuthenticationRequestStarted() {
if (PopoutService.polkitAuthModal && triggerScreen)
PopoutService.polkitAuthModal.screen = triggerScreen;
}
}
Connections {
target: SystemUpdateService
function onIsUpgradingChanged() {