It meant that the Centre Court crowd had seen just 83 minutes of action involving the two men who have won 10 Wimbledon titles between them.
"It was great to be back on the centre court", said Djokovic.
It was a short and sweet introduction to this year's Wimbledon for Novak Djokovic who breezed into the second round when opponent Martin Klizan retired injured after the first set of their match on Tuesday.
STAT OF THE DAY Zero - Career match wins in Grand Slam tournaments before Monday for Daniil Medvedev, the 21-year-old Russian who stunned Wawrinka 6-4, 3-6, 6-4, 6-1. The fourth-ranked Serb starts his bid to regain the All England Club crown with a first-round match against world number 47 Martin Klizan of Slovakia.
The Centre Court crowd were left deprived of the chance to watch their three-time champion in action but would have been relieved to have Federer, a seven-time victor on the court, following him.
Women's top seed Angelique Kerber opens play on Centre Court at 13:00 against American Irina Falconi. When speaking to the various competitors who have been defeated by Federer in 18 grand-slam finals over the course of 14 years, a common theme of being unnerved emerges.
"Some weeks I play well and beat a bunch of players and do super well in tournaments".
"When I went out, I felt like there was a bit of a letdown from the crowd. Then sort of basically resting, just making sure I come in fresh into that first round with the right mindset".
Christina McHale faces a British opponent at Wimbledon for the second time - having beaten Johanna Konta in the opening round five years ago.
Federer's next opponent will be the victor of the match between Stefanos Tsitsipas and Dusan Lajovic. I think Radwanska has the edge of Jankovic on a grass court, with Radwanska winning their only ever meeting on grass and leads the head-to-head by a one-sided 7-2.
Previous year he did even better than that, reaching the final at the All England Club and losing to Andy Murray in straight sets.
While tournament favourites Murray and Nadal cruised through to the second round, Wawrinka became the first big upset of the tournament, crashing out at the hands of 6-4, 3-6, 6-4, 6-1 at the hands of Russian Daniil Medvedev.
The sixth-seeded Raonic, the first Canadian man to reach a Grand Slam final, advanced to the second round at the All England Club by beating Jan-Lennard Struff of Germany 7-6 (5), 6-4, 7-6 (4).