But his own serve was really the key. He has tinkered with it too often through the years, and felt forced to change it more during his slump as he resisted having surgery on his elbow. But since having the operation in February and then rejoining forces with Vajda in April, he has cleaned up his technique and slowly recovered his rhythm.

His average first-serve speed of 114 miles per hour during the tournament was below his average of 117 during his most recent title here, in 2015. He has resumed bouncing the ball with irritating frequency before delivering his serves, but it worked for him as he found the right combinations and locations.

“He couldn’t really serve in Australia because of the injury,” said Becker, the former No. 1-ranked player who left Djokovic’s team after the 2016 season. “He needed to have the surgery to get the elbow right, and then it’s a question of confidence, of timing and work ethic, and getting it back to the point that, when you are down 15-40, you don’t think about it. It becomes automatic. And I think technically it’s now very sound, and I think the serve was the reason he won against Nadal, and it is also why he is Wimbledon champion.”

Vajda certainly is a big reason as well. He is a jovial, personable character, and a reassuring presence. But he is also a fine technician who knows how to manage Djokovic’s dark and moody side.

It undoubtedly stung Vajda when Djokovic, deep in a funk and an experimental mood, split with his core team in April 2017. But Vajda said he enjoyed the time to finally focus on his family in Bratislava, Slovakia. When Djokovic called him in late March after another first-round loss in Miami, Vajda agreed, after consulting with his family, to ride to the rescue.

Djokovic and Vajda indicated on Sunday night that they plan to continue galloping forward.

“I think Novak was pretty desperate after the Miami Open,” Becker said. “That’s the worst I’ve seen him play. He needed to change, and that’s always a moment when you remember who were your people from day one. And Vajda stands very high on that list, and so I think that was the finest tactical move Nole has done, getting Marian back.”