change update_clipboard to threaded, since creating a context may take long

This commit is contained in:
rustdesk
2024-06-30 17:05:09 +08:00
parent 25d0ced8ba
commit 1f129e6ef3
5 changed files with 52 additions and 14 deletions

View File

@@ -91,6 +91,8 @@ clipboard = { path = "libs/clipboard" }
ctrlc = "3.2"
# arboard = { version = "3.4.0", features = ["wayland-data-control"] }
arboard = { git = "https://github.com/rustdesk-org/arboard", features = ["wayland-data-control"] }
clipboard-master = { git = "https://github.com/rustdesk-org/clipboard-master"}
system_shutdown = "4.0"
qrcode-generator = "4.1"