This commit is contained in:
Xinhao Yuan 2019-07-09 15:41:13 -04:00
parent aaa103080a
commit 2f3d03fcc3
1 changed files with 10 additions and 2 deletions

View File

@ -159,7 +159,11 @@ local function start(c)
if tablist == nil then
tablist = {}
for _, tc in ipairs(screen.tiled_clients) do
if tc.machi_region == c.machi_region then
if tc.machi_region == c.machi_region
and not tc.maximized
and not tc.maximized_horizontal
and not tc.maximized_vertical
then
tablist[#tablist + 1] = tc
end
end
@ -233,7 +237,11 @@ local function start(c)
else
-- move the focus
for _, tc in ipairs(screen.tiled_clients) do
if tc.machi_region == choice then
if tc.machi_region == choice
and not tc.maximized
and not tc.maximized_horizontal
and not tc.maximized_vertical
then
c = tc
api.client.focus = c
move_traverse = true