aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Bell <bryan.w.bell@gmail.com>2015-02-27 02:05:45 -0800
committerBryan Bell <bryan.w.bell@gmail.com>2015-02-27 02:05:45 -0800
commita3fac7c0fe822ec6c601307ff15820b2ea7828ad (patch)
treea3473c849e510a734801d2d609813a53f92cd230
parent8ad3c5aeb65e473a4c099b12e9439dfc556024f8 (diff)
downloadservo-a3fac7c0fe822ec6c601307ff15820b2ea7828ad.tar.gz
servo-a3fac7c0fe822ec6c601307ff15820b2ea7828ad.zip
Enable osx cursor support
Dependent on https://github.com/tomaka/glutin/pull/300
-rw-r--r--ports/glutin/window.rs11
1 files changed, 1 insertions, 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;