Ask the neighbour to keep their cat inside (but don't hold your breath waiting for that to happen). Plus there will be other cats, dogs, kids and who knows what showing up at various times so it's pretty hard to change it. Unless you routinely use extremely bad smelling stuff on your property (which often only attracts other animals rather than keeping any away), or put up seriously high fencing, you're probably better off trying to keep your cat from looking out the window - which seems really mean.