Door-window-sensor