From 2c14e90a898f048ba360af528bf9a8ea294247d4 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sun, 21 Aug 2022 23:02:26 -0700 Subject: [PATCH] naughty.widget.title: Update the property documentation. --- lib/naughty/widget/title.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/naughty/widget/title.lua b/lib/naughty/widget/title.lua index 27f1311d6..8b58448a8 100644 --- a/lib/naughty/widget/title.lua +++ b/lib/naughty/widget/title.lua @@ -25,6 +25,7 @@ local title = {} --- The attached notification. -- @property notification -- @tparam naughty.notification notification +-- @propertydefault This is usually set in the construtor. -- @propemits true false function title:set_notification(notif) @@ -87,8 +88,6 @@ local function new(args) return tb end ---@DOC_widget_COMMON@ - --@DOC_object_COMMON@ return setmetatable(title, {__call = function(_, ...) return new(...) end})