a dog lays on a bed and stares out of a window 
A dog laying on a bed looking out a window.
A sad looking dog stares out the window.
A dog laying on a bed staring out the room through a window.
The dog is waiting for his master to arrive.