diff --git a/src/platform/macos/window.rs b/src/platform/macos/window.rs index cbd66056..62f0720a 100644 --- a/src/platform/macos/window.rs +++ b/src/platform/macos/window.rs @@ -523,6 +523,7 @@ impl Window { Ok(()) }, CursorState::Grab => { + let _: () = unsafe { msg_send![cls, hide] }; let _: i32 = unsafe { CGAssociateMouseAndMouseCursorPosition(false) }; Ok(()) }