diff --git a/lib/awful/client.lua b/lib/awful/client.lua index fcf17a4e8..418f69d2f 100644 --- a/lib/awful/client.lua +++ b/lib/awful/client.lua @@ -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) diff --git a/lib/awful/client/urgent.lua b/lib/awful/client/urgent.lua index 051bc2eed..591c19c78 100644 --- a/lib/awful/client/urgent.lua +++ b/lib/awful/client/urgent.lua @@ -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