Update doc for fn window_hint