awesome/lib/naughty
Anton Bulakh 8493fd1829
Add forgotten nil-check to `notification.reset_timeout`
When you call `reset_timeout` on a notification with 0 timeout and thus no timer, a nil field error occures.
(can be tested with `awesome-client 'require"naughty".notification{message="TEST",timeout=0}:reset_timeout()'`)
Everywhere else in similar places (even at the beginning of the `reset_timeout`) the `self.timer` field is checked so i guess it was just forgotten there.
2019-03-11 20:45:31 +02:00
..
layout naughty: Resize notification when setting text 2019-02-23 18:54:39 +01:00
action.lua naughty: Turn actions into object. 2019-02-16 15:26:38 -05:00
constants.lua naughty: Add hicolor to the default icon path. 2019-02-16 15:49:39 -05:00
core.lua naughty: Set a default reason in `:destroy()`. 2019-03-03 16:24:17 -05:00
dbus.lua naughty: Always have an id. 2019-02-22 11:47:46 -05:00
init.lua naughty: Move the notification object into its own file. 2019-02-16 15:25:10 -05:00
notification.lua Add forgotten nil-check to `notification.reset_timeout` 2019-03-11 20:45:31 +02:00