mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-07-28 11:49:10 +00:00
Add clipboard logs
Synchronizing local and device clipboards in invisible. Add INFO logs on success.
This commit is contained in:
parent
9712cb8123
commit
6537c2ef01
2 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,7 @@ static void
|
|||
process_msg(struct receiver *receiver, struct device_msg *msg) {
|
||||
switch (msg->type) {
|
||||
case DEVICE_MSG_TYPE_CLIPBOARD:
|
||||
LOGI("Device clipboard copied");
|
||||
SDL_SetClipboardText(msg->clipboard.text);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue