mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
auto merge of #5088 : bjwbell/servo/osx-set_cursor, r=jdm
Dependent on https://github.com/tomaka/glutin/pull/300
This commit is contained in:
commit
477f8d22a4
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