diff --git a/src/platform_impl/linux/wayland/seat/pointer/mod.rs b/src/platform_impl/linux/wayland/seat/pointer/mod.rs index 54be673fdb..584069b1c2 100644 --- a/src/platform_impl/linux/wayland/seat/pointer/mod.rs +++ b/src/platform_impl/linux/wayland/seat/pointer/mod.rs @@ -109,9 +109,10 @@ impl WinitPointer { let serial = Some(self.latest_serial.get()); for cursor in cursors { if self.pointer.set_cursor(cursor, serial).is_ok() { - break; + return; } } + warn!("Failed to set cursor to {:?}", cursor_icon); } /// Confine the pointer to a surface.