Setting the mouse position always updates the cursor visibility state in the core, but that's not always desired by the caller. Make it optional. In practice, this is for wayland. Fixes #15967.
Setting the mouse position always updates the cursor visibility state in the core, but that's not always desired by the caller. Make it optional. In practice, this is for wayland. Fixes #15967.