iceiix / stevenarella

Multi-protocol Minecraft-compatible client written in Rust
Apache License 2.0
1.46k stars 60 forks source link

client crash on mouse move: Result::unwrap() on an Err value: NotSupported(NotSupportedError)', src/main.rs:664 #713

Closed brudder404 closed 2 years ago

brudder404 commented 2 years ago

the client works fine till i move my mouse then it crashes with this error: thread 'main' panicked at 'called Result::unwrap() on an Err value: NotSupported(NotSupportedError)', src/main.rs:664:22

iceiix commented 2 years ago

src/main.rs:664 is:

                window
                    .set_cursor_grab(winit::window::CursorGrabMode::Locked)
                    .unwrap();