From 423aeebe8aeae1e0c3b8eab15f369015ac1ee42a Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Mon, 22 Jul 2019 00:10:22 -0400 Subject: [PATCH] naughty: Add more default values. Without this, some variables could accidently be set to `nil` by the dbus code. Ignore now also has a default. Ref #2829 --- lib/naughty/constants.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/naughty/constants.lua b/lib/naughty/constants.lua index def1f6eb7..ce237b130 100644 --- a/lib/naughty/constants.lua +++ b/lib/naughty/constants.lua @@ -72,6 +72,10 @@ ret.config.defaults = { border_width = dpi(1), position = "top_right", urgency = "normal", + message = "", + title = "", + app_name = "", + ignore = false, } ret.notification_closed_reason = {