set_window_state takes vmax and hmax props