[PATCH 3/7] winex11: Introduce a new window_set_wm_state helper.