Actually, this is how cats show affection. They’re trying to show you that they care about your interests (which in this case would be the computer) by being near you and trying to participate in what you’re doing. They love it when you do the same for them, like watching the window with them or playing with them