mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Update cargo nightly to get android cross compile fix. Also add stub trait method to glutin port.
This commit is contained in:
parent
803e5ef790
commit
f579be2307
2 changed files with 8 additions and 1 deletions
|
@ -1 +1 @@
|
|||
2014-12-02
|
||||
2014-12-18
|
||||
|
|
|
@ -32,6 +32,7 @@ use gleam::gl;
|
|||
use glutin;
|
||||
use glutin::{ElementState, Event, MouseButton, VirtualKeyCode};
|
||||
use NestedEventLoopListener;
|
||||
use util::cursor::Cursor;
|
||||
|
||||
#[cfg(target_os="linux")]
|
||||
use std::ptr;
|
||||
|
@ -223,6 +224,12 @@ impl WindowMethods for Window {
|
|||
// TODO(gw)
|
||||
}
|
||||
|
||||
fn set_cursor(&self, _: Cursor) {
|
||||
// No-op. We could take over mouse handling ourselves and draw the cursor as an extra
|
||||
// layer with our own custom bitmaps or something, but it doesn't seem worth the
|
||||
// trouble.
|
||||
}
|
||||
|
||||
fn prepare_for_composite(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue