Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions crates/ironrdp-cliprdr-native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ authors.workspace = true
keywords.workspace = true
categories.workspace = true

[features]
# Exposes internals to the integration tests in ironrdp-testsuite-core.
__test = ["dep:visibility"]

[lib]
doctest = false
test = false
Expand All @@ -21,6 +25,13 @@ ironrdp-cliprdr = { path = "../ironrdp-cliprdr", version = "0.7" } # public
ironrdp-core = { path = "../ironrdp-core", version = "0.2" }
tracing = { version = "0.1", features = ["log"] }

[target.'cfg(target_os = "linux")'.dependencies]
nix = { version = "0.31", features = ["poll"] }
visibility = { version = "0.1", optional = true }
wayland-client = "0.31"
wayland-protocols = { version = "0.32", features = ["client", "staging"] }
wayland-protocols-wlr = { version = "0.3", features = ["client"] }

[target.'cfg(windows)'.dependencies]
windows = { version = "0.62", features = [
"Win32_Foundation",
Expand Down
9 changes: 8 additions & 1 deletion crates/ironrdp-cliprdr-native/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# IronRDP CLIPRDR native backends

Native CLIPRDR backend implementations. Currently only Windows is supported.
Native CLIPRDR backend implementations. Windows has a full backend; Linux has a Wayland clipboard client that a backend can be built on.

This crate is part of the [IronRDP] project.

[IronRDP]: https://github.com/Devolutions/IronRDP

## Linux

The `data_control` module is a clipboard client for Wayland compositors that
offer `ext-data-control-v1` or `wlr-data-control-unstable-v1`. It reads and sets
the clipboard without a window and supports delayed rendering, so the data for a
paste can be produced when the paste happens.
Loading
Loading