popout: commit the emptied input region when the close starts

port 2.0

(cherry picked from commit 4a8fc4d4ba)
This commit is contained in:
bbedward authored and dux-ci[bot] committed 2026-10-27 01:01:11 +00:00
1 parent 3f0769f169
commit ef4b3ae53f
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;