refactor
This commit is contained in:
parent
621819c64f
commit
05896c56dd
2
init.lua
2
init.lua
|
@ -34,7 +34,7 @@ local function region_tablist()
|
||||||
end
|
end
|
||||||
--+ focused client's region
|
--+ focused client's region
|
||||||
|
|
||||||
for _, tc in ipairs(screen[1].tiled_clients) do
|
for _, tc in ipairs(screen[focused_screen].tiled_clients) do
|
||||||
if not (tc.floating or tc.immobilized) then
|
if not (tc.floating or tc.immobilized) then
|
||||||
if regions[active_region].x <= tc.x + tc.width + tc.border_width * 2 and
|
if regions[active_region].x <= tc.x + tc.width + tc.border_width * 2 and
|
||||||
tc.x <= regions[active_region].x + regions[active_region].width and
|
tc.x <= regions[active_region].x + regions[active_region].width and
|
||||||
|
|
Loading…
Reference in New Issue