This commit entirely reworks the internal structure of the entire crate, as well as some of its APIs. This crate only accepts a C pointer to a Wayland display object, since the target audience of this crate are libraries without a wayland-client types. Also since seat information is not presented in such clients most of the time, the clipboard entirely relies on its seat tracking.
872 B
872 B
Smithay Clipboard
This crate provides access to the Wayland clipboard for applications already using some sort of GUI toolkit or a windowing library, like winit, since you should have some surface around to receive keyboard/pointer events.
If you want to access clipboard from the CLI or to write clipboard manager, this is not what you're looking for.
Documentation
The documentation for the master branch is available online.
The documentation for the releases can be found on docs.rs.