naughty: notify() returns notification object

This makes notification mangling outside of naughty.lua much easier:
http://awesome.naquadah.org/wiki/index.php?title=Naughty#Popup_calendar

Signed-off-by: koniu <gkusnierz@gmail.com>
This commit is contained in:
koniu 2008-11-22 14:46:51 +00:00 committed by Julien Danjou
parent 8599426168
commit 0358d1085d
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ local counter = 1
-- @field height Popup height -- @field height Popup height
-- @field width Popup width -- @field width Popup width
-- @field die Function to be executed on timeout -- @field die Function to be executed on timeout
-- @field id Unique notification id based on a counter
-- @name notifications[position] -- @name notifications[position]
-- @class table -- @class table