xrdp-ng: merge set_pointer and set_pointer_ex