diff --git a/src/lib.rs b/src/lib.rs index a23523e5..12a908cf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -618,7 +618,7 @@ impl Window { /// Modifies the mouse cursor of the window. /// Has no effect on Android. - pub fn set_cursor(&mut self, cursor: MouseCursor) { + pub fn set_cursor(&self, cursor: MouseCursor) { self.window.set_cursor(cursor); } }