mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-27 21:47:50 -04:00
popout: commit the emptied input region when the close starts
port 2.0
This commit is contained in:
1 parent
a3c4d0ab1a
commit
4a8fc4d4ba
1 file changed
+8
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user