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. |
||
|---|---|---|
| .. | ||
| canvas | ||
| canvas.rs | ||
| event.rs | ||
| event_handle.rs | ||
| media_query_handle.rs | ||
| mod.rs | ||
| scaling.rs | ||
| timeout.rs | ||