awful.client: fix local function idx
Signed-off-by: Gregor Best <gbe@intepi.net> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
c9ec34e61e
commit
efbba53507
|
@ -678,6 +678,7 @@ local function idx(c)
|
|||
end
|
||||
end
|
||||
|
||||
local t = tag.selected(c.screen)
|
||||
local nmaster = tag.getnmaster(t)
|
||||
if idx <= nmaster then
|
||||
return {idx = idx, col=0, num=nmaster}
|
||||
|
|
Loading…
Reference in New Issue