mirror of
https://github.com/servo/servo.git
synced 2025-07-16 11:53:39 +01:00
Enable osx cursor support
Dependent on https://github.com/tomaka/glutin/pull/300
This commit is contained in:
parent
8ad3c5aeb6
commit
a3fac7c0fe
1 changed files with 1 additions and 10 deletions
|
@ -468,16 +468,7 @@ impl WindowMethods for Window {
|
||||||
fn load_end(&self) {
|
fn load_end(&self) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Enable on macos when supported by glutin.
|
/// Has no effect on Android.
|
||||||
#[cfg(target_os="macos")]
|
|
||||||
fn set_cursor(&self, _: Cursor) {
|
|
||||||
}
|
|
||||||
|
|
||||||
#[cfg(target_os="android")]
|
|
||||||
fn set_cursor(&self, _: Cursor) {
|
|
||||||
}
|
|
||||||
|
|
||||||
#[cfg(target_os="linux")]
|
|
||||||
fn set_cursor(&self, c: Cursor) {
|
fn set_cursor(&self, c: Cursor) {
|
||||||
use glutin::MouseCursor;
|
use glutin::MouseCursor;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue