-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature request: wayland support #34
Comments
It looks like https://github.com/vberger/wayland-rs is a widely-used, actively maintained set of bindings for wayland (in contrast to https://github.com/eyolfson/rust-wayland, which was last updated early 2015 and has few downloads on crates.io, though it does seem to be pure-rust). I'm not sure I'll have time to do this myself, though I'd be glad to review and merge it if you (or someone else) submits a PR (preferably under Apache2 license). At a high-level sketch of a design, I'd expect a PR to add a Some discussion on the design (IRC logs):
|
For some more context about this issue, and wayland clipboard handling:
There has been some work to try and make a crate for handling wayland clipboard (see smithay-clipboard), but these specifics leak into its API. I think there is a discussion to have about if / how these specifics could be compatible with |
Worth noting that there's also the data-control protocol for Wayland clipboard access implemented primarily by wlroots-based compositors, which is intended strictly for applications which do not spawn windows—that is, terminal clipboard utilities and clipboard managers, etc. I'm not sure whether this crate is intended for use only by GUI applications. If that is the case, then |
It's however important to keep in mind this paragraph from the
Compositors can (and are likely to) restrict access to this protocol to special clients. typically a whitelist from the compositor's configuration. So |
https://wayland.freedesktop.org/docs/html/ch04.html#sect-Protocol-data-sharing
The text was updated successfully, but these errors were encountered: