diff --git a/lib/naughty/notification.lua b/lib/naughty/notification.lua index c2bfa04c..81205386 100644 --- a/lib/naughty/notification.lua +++ b/lib/naughty/notification.lua @@ -457,6 +457,8 @@ function notification:set_id(new_id) end function notification:set_timeout(timeout) + timeout = timeout or 0 + local die = function (reason) if reason == cst.notification_closed_reason.expired then self.is_expired = true