diff --git a/src/wayland/meta-wayland-pointer.c b/src/wayland/meta-wayland-pointer.c index b7819fdf1..f8218669d 100644 --- a/src/wayland/meta-wayland-pointer.c +++ b/src/wayland/meta-wayland-pointer.c @@ -1234,6 +1234,10 @@ meta_wayland_pointer_set_cursor_shape (MetaWaylandPointer *pointer, g_clear_signal_handler (&pointer->cursor_surface_destroy_id, pointer->cursor_surface); } + else if (pointer->cursor_shape == shape) + { + return; + } pointer->cursor_surface = NULL; pointer->cursor_shape = shape;