winit/src/platform
aloucks 8f394f117b Change set_cursor_position to return Result<(), String> (#562)
* Change set_cursor_position to return Result<(), String>

This is now consistent with `grab_cursor`, and
enables `window.set_cursor_position(x, y)?` in functions
that return `Result<_, Box<Error>>`.

* Adjust error handling of unimplemented cusor opertions in wayland

* The final nitpick

* Actually one more
2018-06-19 10:30:15 -04:00
..
android Change set_cursor_position to return Result<(), String> (#562) 2018-06-19 10:30:15 -04:00
emscripten Change set_cursor_position to return Result<(), String> (#562) 2018-06-19 10:30:15 -04:00
ios Change set_cursor_position to return Result<(), String> (#562) 2018-06-19 10:30:15 -04:00
linux Change set_cursor_position to return Result<(), String> (#562) 2018-06-19 10:30:15 -04:00
macos Change set_cursor_position to return Result<(), String> (#562) 2018-06-19 10:30:15 -04:00
windows Change set_cursor_position to return Result<(), String> (#562) 2018-06-19 10:30:15 -04:00
mod.rs Remove the use platform_not_supported hack (#285) 2017-09-15 15:45:45 +02:00