wibox: Make the table argument optional
For consistency with other objects.
This commit is contained in:
parent
f9fa8538b9
commit
df6bc2f6bc
|
@ -297,6 +297,7 @@ local function setup_signals(_wibox)
|
|||
end
|
||||
|
||||
local function new(args)
|
||||
args = args or {}
|
||||
local ret = object()
|
||||
local w = capi.drawin(args)
|
||||
|
||||
|
|
Loading…
Reference in New Issue