A dog is sitting in the window behind the laptop.
a desk in front of a window where a dog rests in the window seal 
A dog is sitting in the window above the computer desk
Dog relaxing in the window overlooking the computer
A laptop computer sitting under a window on a desk.