diff --git a/lib/awful/widget/layoutbox.lua b/lib/awful/widget/layoutbox.lua index 5d04cebc4..ca1a07196 100644 --- a/lib/awful/widget/layoutbox.lua +++ b/lib/awful/widget/layoutbox.lua @@ -52,7 +52,7 @@ end -- @return The layoutbox. function layoutbox.new(args) args = args or {} - local screen = nil + local screen = args.screen if type(args) == "number" or type(args) == "screen" or args.fake_remove then screen, args = args, {}