mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-07-27 19:29:16 +00:00
Add option to disable clipboard autosync
By default, scrcpy automatically synchronizes the computer clipboard to the device clipboard before injecting Ctrl+v, and the device clipboard to the computer clipboard whenever it changes. This new option --no-clipboard-autosync disables this automatic synchronization. Fixes #2228 <https://github.com/Genymobile/scrcpy/issues/2228> PR #2817 <https://github.com/Genymobile/scrcpy/pull/2817>
This commit is contained in:
parent
5d17bcf1bc
commit
6abff46c9f
13 changed files with 45 additions and 4 deletions
|
@ -186,6 +186,7 @@ execute_server(struct sc_server *server,
|
|||
params->codec_options ? params->codec_options : "-",
|
||||
params->encoder_name ? params->encoder_name : "-",
|
||||
params->power_off_on_close ? "true" : "false",
|
||||
params->clipboard_autosync ? "true" : "false",
|
||||
};
|
||||
#ifdef SERVER_DEBUGGER
|
||||
LOGI("Server debugger waiting for a client on device port "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue