use c:jump_to instead of client.jumpto
This commit is contained in:
parent
4ef524d76e
commit
f5f8998d0c
|
@ -1091,7 +1091,7 @@ function client.run_or_raise(cmd, matcher, merge)
|
|||
|
||||
local c = client.iterate(matcher, start)()
|
||||
if c then
|
||||
client.jumpto(c, merge)
|
||||
c:jump_to(merge)
|
||||
else
|
||||
-- client not found, spawn it
|
||||
spawn(cmd)
|
||||
|
|
|
@ -54,7 +54,7 @@ end
|
|||
function urgent.jumpto(merge)
|
||||
local c = client.urgent.get()
|
||||
if c then
|
||||
client.jumpto(c, merge)
|
||||
c:jump_to(merge)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue