We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using window.set_cursor_position on X11, the call will block infinitely, or until the window is unfocussed.
let (window_width, window_height) = window.get_inner_size().unwrap(); window.set_cursor_position((window_width/2) as i32, (window_height/2) as i32);
The text was updated successfully, but these errors were encountered:
Closing for rust-windowing/winit#43
Sorry, something went wrong.
No branches or pull requests
When using window.set_cursor_position on X11, the call will block infinitely, or until the window is unfocussed.
The text was updated successfully, but these errors were encountered: