Jack had automatically put a comforting arm around Rose's shoulders when she came over to him, falling into the old closeness, but once Ianto lets out that very attention-getting whistle (great trick!) and Rose stands between the two, he moves to put his arm around Ianto instead.