However, you don't want the foot of the bed directly ... Having your bed against or placed under a window can make you feel more vulnerable since glass is not as solid as a wall.