winit-sonoma-fix/examples
Kirill Chibisov 9e6f666616
Refine Window::set_cursor_grab API
This commit renames `Window::set_cursor_grab` to
`Window::set_cursor_grab_mode`. The new API now accepts enumeration
to control the way cursor grab is performed. The value could be: `lock`,
`confine`, or `none`.

This commit also implements `Window::set_cursor_position` for Wayland,
since it's tied to locked cursor.

Implements API from #1677.
2022-06-13 09:43:14 +03:00
..
control_flow.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
cursor.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
cursor_grab.rs Refine Window::set_cursor_grab API 2022-06-13 09:43:14 +03:00
custom_events.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
drag_window.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
fullscreen.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
handling_close.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
icon.png Window icons (#497) 2018-05-07 17:36:21 -04:00
ime.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
min_max_size.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
minimize.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
monitor_list.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
mouse_wheel.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
multithreaded.rs Refine Window::set_cursor_grab API 2022-06-13 09:43:14 +03:00
multiwindow.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
request_redraw.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
request_redraw_threaded.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
resizable.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
timer.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
transparent.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
video_modes.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
web.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
window.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
window_debug.rs Make set_device_event_filter non-mut 2022-06-10 15:39:02 +03:00
window_icon.rs Run clippy on CI 2022-06-10 13:43:33 +03:00
window_run_return.rs Run clippy on CI 2022-06-10 13:43:33 +03:00