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