aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a23523e..12a908c 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);
}
}