[PATCH v2 3/5] server: Update focus and active windows in assign_thread_input.