aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/wayland
diff options
context:
space:
mode:
authorVictor Berger <victor.berger@m4x.org>2015-08-21 18:47:54 +0200
committerVictor Berger <victor.berger@m4x.org>2015-08-21 18:47:54 +0200
commitbfc709fdd14775dfc04d9781e002e4949f01ea7c (patch)
tree84e1fb2d60d7a4bcad855c0f0bcc3754aa64c9c3 /src/api/wayland
parent73e4a7d4b17bfc08acc198e0336a2f5c7fd2036a (diff)
downloadglutin-bfc709fdd14775dfc04d9781e002e4949f01ea7c.tar.gz
glutin-bfc709fdd14775dfc04d9781e002e4949f01ea7c.zip
wayland: fix events Moved -> MouseMoved
Diffstat (limited to 'src/api/wayland')
-rw-r--r--src/api/wayland/context.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/wayland/context.rs b/src/api/wayland/context.rs
index 6d7df86..9b6fce0 100644
--- a/src/api/wayland/context.rs
+++ b/src/api/wayland/context.rs
@@ -86,7 +86,7 @@ impl WaylandContext {
if let Some(sid) = sid {
let map = event_queues.lock().unwrap();
if let Some(queue) = map.get(&sid) {
- queue.lock().unwrap().push_back(Event::Moved(x as i32,y as i32))
+ queue.lock().unwrap().push_back(Event::MouseMoved((x as i32,y as i32)))
}
}
});