popout: commit the emptied input region when the close starts

port 2.0
This commit is contained in:
bbedward committed 2026-10-26 21:00:48 -04:00
1 parent a3c4d0ab1a
commit 4a8fc4d4ba
1 file changed
+8
+8
View File
@@ -1366,6 +1366,14 @@ Item {
// An idle layer surface won't commit the cleared blur region on auto-close; pulse updatesEnabled to force it.
property bool blurCommitSuppress: false
readonly property bool popoutShown: root.shouldBeVisible
// The idle surface never commits the emptied input region on close without a frame.
onPopoutShownChanged: {
if (popoutShown || !backgroundWindow.visible)
return;
holdCommits();
}
function show() {
if (required)
backgroundWindow.visible = true;