No description
Find a file
leyoda 319db02e52
Some checks failed
Test / all (windows-latest, beta) (push) Has been cancelled
Test / all (windows-latest, stable) (push) Has been cancelled
Test / all (macOS-latest, beta) (push) Has been cancelled
Test / all (macOS-latest, stable) (push) Has been cancelled
Test / all (ubuntu-latest, beta) (push) Has been cancelled
Test / all (ubuntu-latest, stable) (push) Has been cancelled
yoda: gate clipboard_x11 behind an opt-in feature
Upstream pulled clipboard_x11 unconditionally on unix, which drags
x11rb + x11rb-protocol and ~500 symbols of X11 clipboard code into
every Wayland-only iced build. Add an x11 feature (default-on for
compat) that gates:
- the clipboard_x11 workspace dep (now optional)
- `pub use clipboard_x11 as x11` re-export
- the Clipboard::X11 enum variant
- every match arm that handles it
- the fallback branch in `unsafe fn connect` (returns a helpful
  error when called with a non-Wayland display handle)

Wayland-only builds set `window_clipboard = { ..., default-features = false, features = ["wayland"] }` and skip the x11 backend entirely.
2026-04-24 06:50:48 +02:00
.github/workflows Build for Wasm in test worflow on GitHub CI 2022-01-27 16:42:07 +07:00
dnd update smithay-clipboard and sctk 2026-03-02 12:32:18 -05:00
examples refactor: add type that hides the platform clipboard 2024-03-14 13:30:50 -04:00
macos refactor: update smithay-clipboard 2024-03-26 17:32:09 -04:00
mime update smithay-clipboard and sctk 2026-03-02 12:32:18 -05:00
src yoda: gate clipboard_x11 behind an opt-in feature 2026-04-24 06:50:48 +02:00
wayland update smithay-clipboard and sctk 2026-03-02 12:32:18 -05:00
x11 refactor: update smithay-clipboard 2024-03-26 17:32:09 -04:00
.gitignore Start with an initial draft 2019-12-18 05:55:42 +01:00
Cargo.toml yoda: gate clipboard_x11 behind an opt-in feature 2026-04-24 06:50:48 +02:00
LICENSE Add LICENSE 2019-12-18 06:44:45 +01:00
README.md Update README 2019-12-18 06:02:28 +01:00
rustfmt.toml Start with an initial draft 2019-12-18 05:55:42 +01:00

window_clipboard

Test Status Documentation Crates.io License

A library to obtain clipboard access from a raw-window-handle.

Very experimental, use at your own risk!