Skip to content

Add an opt-in Sync clipboard setting - #2019

Open
Wouze wants to merge 2 commits into
moonlight-stream:masterfrom
Wouze:clipboard-sync
Open

Wouze wants to merge 2 commits into
moonlight-stream:masterfrom
Wouze:clipboard-sync

Conversation

@Wouze

@Wouze Wouze commented Sep 23, 2026 •

Copy link
Copy Markdown

Summary

  • Add a Settings checkbox, Sync clipboard, saved as syncclipboard and off by default.
  • When it is on, the client subscribes at stream start and keeps UTF-8 clipboard text in sync with a Sunshine host that supports it.
  • Ctrl+Alt+Shift+V is unchanged for older hosts.
  • The submodule moonlight-common-c points at Add an opt-in text clipboard packet moonlight-common-c#155 (cfd661028220a2c1bb8536cb49b2573f1a317f90).

Test plan

  • Linux AppImage, Sync clipboard on, copies text both ways with the matching Sunshine host
  • Checkbox off does not send or apply clipboard text
  • Mac and Windows use the same SDL clipboard path and have not been run

@Wouze

Wouze commented Oct 2, 2026

Copy link
Copy Markdown
Author

Hi. I merged current master into this branch. The moonlight-common-c submodule includes that master plus the clipboard protocol from moonlight-stream/moonlight-common-c#155. Could you review this once that protocol change is in?

@Wouze

Wouze commented Oct 7, 2026

Copy link
Copy Markdown
Author

Hi @cgutman

This depends on moonlight-common-c#155, which ReenigneArcher already approved. Could you review the Sync clipboard setting when you have time?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant