mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 05:40:04 -04:00
wayland: fix events Moved -> MouseMoved
This commit is contained in:
@@ -86,7 +86,7 @@ impl WaylandContext {
|
|||||||
if let Some(sid) = sid {
|
if let Some(sid) = sid {
|
||||||
let map = event_queues.lock().unwrap();
|
let map = event_queues.lock().unwrap();
|
||||||
if let Some(queue) = map.get(&sid) {
|
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)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user