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:
@@ -364,6 +364,7 @@ scrcpy(struct scrcpy_options *options) {
|
||||
.encoder_name = options->encoder_name,
|
||||
.force_adb_forward = options->force_adb_forward,
|
||||
.power_off_on_close = options->power_off_on_close,
|
||||
.clipboard_autosync = options->clipboard_autosync,
|
||||
};
|
||||
|
||||
static const struct sc_server_callbacks cbs = {
|
||||
|
||||
Reference in New Issue
Block a user