mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
9e6f666616
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. |
||
---|---|---|
.. | ||
control_flow.rs | ||
cursor.rs | ||
cursor_grab.rs | ||
custom_events.rs | ||
drag_window.rs | ||
fullscreen.rs | ||
handling_close.rs | ||
icon.png | ||
ime.rs | ||
min_max_size.rs | ||
minimize.rs | ||
monitor_list.rs | ||
mouse_wheel.rs | ||
multithreaded.rs | ||
multiwindow.rs | ||
request_redraw.rs | ||
request_redraw_threaded.rs | ||
resizable.rs | ||
timer.rs | ||
transparent.rs | ||
video_modes.rs | ||
web.rs | ||
window.rs | ||
window_debug.rs | ||
window_icon.rs | ||
window_run_return.rs |