Winow sensors or Shock sensors are installed on window frames and detect vibration. They provide perimeter protection and are designed to trigger an alarm system before an intruder enters the premises.
Shock sensors are available in white or brown to fit in with your window style and they are also available with a built in door contact.