Merge pull request #1036 from cmertz/master
remove client.jumpto deprecation warnings
This commit is contained in:
commit
03dc4767d5
|
@ -1091,7 +1091,7 @@ function client.run_or_raise(cmd, matcher, merge)
|
||||||
|
|
||||||
local c = client.iterate(matcher, start)()
|
local c = client.iterate(matcher, start)()
|
||||||
if c then
|
if c then
|
||||||
client.jumpto(c, merge)
|
c:jump_to(merge)
|
||||||
else
|
else
|
||||||
-- client not found, spawn it
|
-- client not found, spawn it
|
||||||
spawn(cmd)
|
spawn(cmd)
|
||||||
|
|
|
@ -54,7 +54,7 @@ end
|
||||||
function urgent.jumpto(merge)
|
function urgent.jumpto(merge)
|
||||||
local c = client.urgent.get()
|
local c = client.urgent.get()
|
||||||
if c then
|
if c then
|
||||||
client.jumpto(c, merge)
|
c:jump_to(merge)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue