mirror of
https://github.com/Genymobile/scrcpy
synced 2024-12-18 21:34:32 +00:00
Fix set_clipboard message log
If paste is disabled on set_clipboard, then the PASTE key is not injected, but COPY is unrelated. PR #2834 <https://github.com/Genymobile/scrcpy/pull/2834>
This commit is contained in:
parent
bf97a46b0c
commit
cbe73b0bc3
@ -197,7 +197,7 @@ control_msg_log(const struct control_msg *msg) {
|
||||
case CONTROL_MSG_TYPE_SET_CLIPBOARD:
|
||||
LOG_CMSG("clipboard %" PRIu64_ " %s \"%s\"",
|
||||
msg->set_clipboard.sequence,
|
||||
msg->set_clipboard.paste ? "paste" : "copy",
|
||||
msg->set_clipboard.paste ? "paste" : "nopaste",
|
||||
msg->set_clipboard.text);
|
||||
break;
|
||||
case CONTROL_MSG_TYPE_SET_SCREEN_POWER_MODE:
|
||||
|
Loading…
Reference in New Issue
Block a user