wibox: Make the table argument optional

For consistency with other objects.
This commit is contained in:
Emmanuel Lepage Vallee 2016-05-15 01:10:11 -04:00
parent f9fa8538b9
commit df6bc2f6bc
1 changed files with 1 additions and 0 deletions

View File

@ -297,6 +297,7 @@ local function setup_signals(_wibox)
end end
local function new(args) local function new(args)
args = args or {}
local ret = object() local ret = object()
local w = capi.drawin(args) local w = capi.drawin(args)