(read_char): If the event was Qselect_window,