hecrj / window_clipboard

A library to obtain clipboard access from a `raw-window-handle`.
MIT License
21 stars 30 forks source link

Add clipboard write support #9

Closed simonhdickson closed 3 years ago

simonhdickson commented 4 years ago

Adds a write function to ClipboardProvider, I've tested on Linux X11/Wayland and on Windows (I don't have access to Mac).

This does seem to require quite a lot of additions to X11, I don't know if this is undesirable?

hecrj commented 3 years ago

Thanks for giving this a shot!

This approach seems similar to #3. I shared some of my thoughts about exploring different designs there.

However, It's been a while and I haven't had as much time as I thought to work on this. Therefore, I am not against merging something functional as a stopgap for the time being.

ZakisM commented 3 years ago

Any update on this?