is the second window on a second monitor? and what program are you using to pass the keys?

I've found in most cases that if my alts are lagging it's my internet connection, at home i'm on dsl but if i move my pc to my brother's house nothing lags because he has cable. But with computers it could be anything really.