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.
19 lines
872 B
Markdown
19 lines
872 B
Markdown
[](https://crates.io/crates/smithay-clipboard)
|
|
[](https://travis-ci.org/Smithay/smithay-clipboard)
|
|
|
|
|
|
# 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](https://github.com/rust-windowing/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](https://smithay.github.io/smithay-clipboard/).
|
|
|
|
The documentation for the releases can be found on [docs.rs](https://docs.rs/smithay-clipboard).
|