From f88efc88548be30e344810a65e661d13ff36346d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Lepage=20Vall=C3=A9e?= Date: Sun, 23 Feb 2020 16:14:06 -0500 Subject: [PATCH] Fix the layoutbox screen Fix #3004 --- lib/awful/widget/layoutbox.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, {}