layout.arrange: fix screen arg in call to tag.getgap
Fixes https://github.com/awesomeWM/awesome/pull/568#issuecomment-158682756.
This commit is contained in:
parent
8557a7e0e4
commit
58bd21ad79
|
@ -121,7 +121,8 @@ function layout.arrange(screen)
|
||||||
|
|
||||||
local p = {}
|
local p = {}
|
||||||
p.workarea = capi.screen[screen].workarea
|
p.workarea = capi.screen[screen].workarea
|
||||||
local useless_gap = tag.getgap(tag.selected(screen), #client.tiled(s))
|
local useless_gap = tag.getgap(tag.selected(screen),
|
||||||
|
#client.tiled(screen))
|
||||||
-- Handle padding
|
-- Handle padding
|
||||||
local padding = ascreen.padding(capi.screen[screen]) or {}
|
local padding = ascreen.padding(capi.screen[screen]) or {}
|
||||||
p.workarea.x = p.workarea.x + (padding.left or 0) + useless_gap
|
p.workarea.x = p.workarea.x + (padding.left or 0) + useless_gap
|
||||||
|
|
Loading…
Reference in New Issue