Rémi Bernon (@rbernon) commented about server/queue.c:
if ((device = current->process->rawinput_mouse) && (device->flags & RIDEV_NOLEGACY)) {
update_desktop_cursor_pos( desktop, 0, x, y );
if (!update_window_only) update_desktop_cursor_pos( desktop, 0, x, y );
With SET_CURSOR_UPDATE `update_desktop_cursor_pos` won't get called, is there any reason why? I don't think it has much side effect, could we get rid of the condition?