mirror of
https://github.com/storytold/winit.git
synced 2026-11-24 13:20:44 +01:00
wayland: fix events Moved -> MouseMoved
This commit is contained in:
1 parent
73e4a7d4b1
commit
bfc709fdd1
1 file changed
+1
-1
@@ -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)))
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user