diff options
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } } |