popout: fix focusing of password prompts when popout is open

undesired effect of closing the popout but its probably the best solution
This commit is contained in:
bbedward committed 2026-03-16 11:37:21 -04:00
1 parent e633c9e039
commit 59451890f1
2 files changed
+12 -2

No files matched your search

@@ -70,6 +70,16 @@ DankPopout {
backgroundInteractive: !anyModalOpen
onCredentialsPromptOpenChanged: {
if (credentialsPromptOpen && shouldBeVisible)
close();
}
onPolkitModalOpenChanged: {
if (polkitModalOpen && shouldBeVisible)
close();
}
customKeyboardFocus: {
if (!shouldBeVisible)
return WlrKeyboardFocus.None;
+2 -2
View File
@@ -407,8 +407,8 @@ Item {
visible: false
x: contentContainer.x - root.shadowBuffer
y: contentContainer.y - root.shadowBuffer
width: root.alignedWidth + root.shadowBuffer * 2
height: root.alignedHeight + root.shadowBuffer * 2
width: shouldBeVisible ? root.alignedWidth + root.shadowBuffer * 2 : 0
height: shouldBeVisible ? root.alignedHeight + root.shadowBuffer * 2 : 0
}
MouseArea {