events: window: Fix parse-window-event.