auto merge of #4438 : glennw/servo/android-fix-1, r=metajack

...it method to glutin port.
This commit is contained in:
bors-servo 2014-12-18 17:01:10 -07:00
commit 465b38c03f
2 changed files with 8 additions and 1 deletions

View file

@ -1 +1 @@
2014-12-02
2014-12-18

View file

@ -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
}