I don't think the sniper had him in his sights per se for all that time that we see on the video where it appears he's looking at something, but he knows there's something on that roof waiting for it to appear.