run_or_raise: fix for lua 5.2 upgrade

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Anurag Priyam 2012-08-05 01:53:14 +05:30 committed by Uli Schlachter
parent aca737cdc4
commit 0817c7f460
1 changed files with 1 additions and 1 deletions

View File

@ -919,7 +919,7 @@ function client.run_or_raise(cmd, matcher, merge)
local findex = util.table.hasitem(clients, capi.client.focus) or 1 local findex = util.table.hasitem(clients, capi.client.focus) or 1
local start = util.cycle(#clients, findex + 1) local start = util.cycle(#clients, findex + 1)
for c in iterate(matcher, start) do for c in client.iterate(matcher, start) do
client.jumpto(c, merge) client.jumpto(c, merge)
return return
end end