mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
wayland: fix events Moved -> MouseMoved
This commit is contained in:
parent
73e4a7d4b1
commit
bfc709fdd1
|
@ -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)))
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue