wayland: fix events Moved -> MouseMoved

This commit is contained in:
Victor Berger 2015-08-21 18:47:54 +02:00
parent 73e4a7d4b1
commit bfc709fdd1

View file

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