Merge pull request #3007 from awesomeWM/Elv13-layoutbox-1
Fix the layoutbox screen
This commit is contained in:
commit
20a73b269c
|
@ -52,7 +52,7 @@ end
|
||||||
-- @return The layoutbox.
|
-- @return The layoutbox.
|
||||||
function layoutbox.new(args)
|
function layoutbox.new(args)
|
||||||
args = args or {}
|
args = args or {}
|
||||||
local screen = nil
|
local screen = args.screen
|
||||||
|
|
||||||
if type(args) == "number" or type(args) == "screen" or args.fake_remove then
|
if type(args) == "number" or type(args) == "screen" or args.fake_remove then
|
||||||
screen, args = args, {}
|
screen, args = args, {}
|
||||||
|
|
Loading…
Reference in New Issue