summaryrefslogtreecommitdiff
path: root/core/lua/astal/variable.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/lua/astal/variable.lua')
-rw-r--r--core/lua/astal/variable.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/lua/astal/variable.lua b/core/lua/astal/variable.lua
index 1e894b5..02d6b45 100644
--- a/core/lua/astal/variable.lua
+++ b/core/lua/astal/variable.lua
@@ -123,7 +123,9 @@ end
function Variable:drop()
self.variable.emit_dropped()
- self.variable.run_dispose()
+ Astal.Time.idle(GObject.Closure(function()
+ self.variable.run_dispose()
+ end))
end
---@param callback function