Add primary selection support
This commit is contained in:
parent
1fa455ab6f
commit
60e77cd2b0
3 changed files with 208 additions and 15 deletions
|
|
@ -6,7 +6,7 @@
|
|||
//! ```no_run
|
||||
//! let (display, _) =
|
||||
//! Display::connect_to_env().expect("Failed to connect to the wayland server.");
|
||||
//! let mut clipboard = smithay_clipboard::WaylandClipboard::new_threaded(&display);
|
||||
//! let mut clipboard = smithay_clipboard::WaylandClipboard::new(&display);
|
||||
//! clipboard.store(None, "Test data");
|
||||
//! println!("{}", clipboard.load(None));
|
||||
//! ```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue