Update window_event.c