Rémi Bernon : server: Introduce a new get_desktop_cursor_thread_input helper.