Skip to content

Commit

Permalink
Add the reason to notification destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
danimateo committed Mar 28, 2024
1 parent 29f41d7 commit 01b0652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/naughty/layout/box.lua
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ local function new(args)
local n = ret._private.notification[1]

Check warning on line 384 in lib/naughty/layout/box.lua

View check run for this annotation

Codecov / codecov/patch

lib/naughty/layout/box.lua#L384

Added line #L384 was not covered by tests

if n then
n:destroy()
n:destroy(reason)

Check warning on line 387 in lib/naughty/layout/box.lua

View check run for this annotation

Codecov / codecov/patch

lib/naughty/layout/box.lua#L386-L387

Added lines #L386 - L387 were not covered by tests
end
end
end
Expand Down

0 comments on commit 01b0652

Please sign in to comment.