Added args fallback

This commit is contained in:
Gokul Swaminathan 2022-11-21 21:24:51 -08:00
parent c8adfe6a90
commit 0af96c00f8
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ local function get_widget_geometry(wibox, widget)
end end
function task_preview:show(c, args) function task_preview:show(c, args)
args = args or {} args = args or self.args or {}
args.coords = args.coords or self.coords args.coords = args.coords or self.coords
args.wibox = args.wibox args.wibox = args.wibox