From 01b06524e886029b2d04b01e749786ba13431a67 Mon Sep 17 00:00:00 2001 From: danimateo <44500155+danimateo@users.noreply.github.com> Date: Thu, 28 Mar 2024 10:22:05 +0200 Subject: [PATCH] Add the reason to notification destroy --- lib/naughty/layout/box.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/naughty/layout/box.lua b/lib/naughty/layout/box.lua index eaec622c7..e12b0597e 100644 --- a/lib/naughty/layout/box.lua +++ b/lib/naughty/layout/box.lua @@ -384,7 +384,7 @@ local function new(args) local n = ret._private.notification[1] if n then - n:destroy() + n:destroy(reason) end end end