The result followed a poor spell in which City had taken two points from 15. When the side's form was put to Maresca, he pointed to the time the group had been together, but that sequence had to improve.
It did. City moved the ball quickly and smartly, kept a busy Leeds press at bay, and still went forward when they could.
Haaland charged through the middle and cut across Nico Elvedi before scoring his 11th goal in 12 league matches. City later doubled the lead.
Towards the close, Semenyo threatened to claim a third.
Leeds still caused problems through James. The right-winger's pace let him skim a ball across Donnarumma's goal that needed a finish, then shoot wide after he got past the home defence.
Defensive uncertainty had troubled City before this match. On Sunday at Arsenal they were aggressive, and the hosts were fortunate to claim a point.