aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/android/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/android/mod.rs b/src/android/mod.rs
index 341187f..cdd5293 100644
--- a/src/android/mod.rs
+++ b/src/android/mod.rs
@@ -222,13 +222,13 @@ impl Window {
loop {
match self.event_rx.try_recv() {
Ok(event) => match event {
- android_glue::EventDown => {
+ android_glue::Event::EventDown => {
events.push(MouseInput(Pressed, LeftMouseButton));
},
- android_glue::EventUp => {
+ android_glue::Event::EventUp => {
events.push(MouseInput(Released, LeftMouseButton));
},
- android_glue::EventMove(x, y) => {
+ android_glue::Event::EventMove(x, y) => {
events.push(MouseMoved((x as int, y as int)));
},
},