From 07356b9634138aa36f2d05a5e734183d0ceef066 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Sun, 2 Jun 2019 00:06:41 +0000 Subject: [PATCH] Update cursor visibility docs (#893) The cursor visibility docs were still outdated from the rename and talking about setting the invisibility, rather than visibility. The platform-specific docs are unchanged since those should be fine and the rest has been adapted using similar docs. --- src/window.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/window.rs b/src/window.rs index 2567d94d..e855ca1a 100644 --- a/src/window.rs +++ b/src/window.rs @@ -638,7 +638,9 @@ impl Window { self.window.set_cursor_grab(grab) } - /// Hides the cursor, making it invisible but still usable. + /// Modifies the cursor's visibility. + /// + /// If `false`, this will hide the cursor. If `true`, this will show the cursor. /// /// ## Platform-specific ///