From a3fac7c0fe822ec6c601307ff15820b2ea7828ad Mon Sep 17 00:00:00 2001 From: Bryan Bell Date: Fri, 27 Feb 2015 02:05:45 -0800 Subject: [PATCH] Enable osx cursor support Dependent on https://github.com/tomaka/glutin/pull/300 --- ports/glutin/window.rs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ports/glutin/window.rs b/ports/glutin/window.rs index 2256d34b998..ccfbd0a8bdd 100644 --- a/ports/glutin/window.rs +++ b/ports/glutin/window.rs @@ -468,16 +468,7 @@ impl WindowMethods for Window { fn load_end(&self) { } - // TODO: Enable on macos when supported by glutin. - #[cfg(target_os="macos")] - fn set_cursor(&self, _: Cursor) { - } - - #[cfg(target_os="android")] - fn set_cursor(&self, _: Cursor) { - } - - #[cfg(target_os="linux")] + /// Has no effect on Android. fn set_cursor(&self, c: Cursor) { use glutin::MouseCursor;