wayland: avoid set_cursor() when unchanged or invisible
This is !2822 (merged) applied master. @carlosg: The relevant code on master looks (almost) identical to the GTK3 branch, so the patch applied unchanged.
This is !2822 (merged) applied master. @carlosg: The relevant code on master looks (almost) identical to the GTK3 branch, so the patch applied unchanged.