mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-19 00:41:49 +03:00
Made clipboard log more consistent #4712
This commit is contained in:
parent
c2b96cfbb7
commit
9800bec857
@ -565,11 +565,11 @@ ServerProxy::setClipboard()
|
|||||||
clipboard.unmarshall(dataCached, 0);
|
clipboard.unmarshall(dataCached, 0);
|
||||||
m_client->setClipboard(id, &clipboard);
|
m_client->setClipboard(id, &clipboard);
|
||||||
|
|
||||||
LOG((CLOG_DEBUG "clipboard transmission complete"));
|
LOG((CLOG_INFO "clipboard was updated"));
|
||||||
}
|
}
|
||||||
else if (r == kStart) {
|
else if (r == kStart) {
|
||||||
size_t size = ClipboardChunk::getExpectedSize();
|
size_t size = ClipboardChunk::getExpectedSize();
|
||||||
LOG((CLOG_DEBUG "receiving %u bytes of clipboard data", size));
|
LOG((CLOG_DEBUG "receiving clipboard %d size=%d", id, size));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -91,11 +91,10 @@ ClientProxy1_6::recvClipboard()
|
|||||||
info->m_sequenceNumber = seq;
|
info->m_sequenceNumber = seq;
|
||||||
m_events->addEvent(Event(m_events->forClipboard().clipboardChanged(),
|
m_events->addEvent(Event(m_events->forClipboard().clipboardChanged(),
|
||||||
getEventTarget(), info));
|
getEventTarget(), info));
|
||||||
LOG((CLOG_DEBUG "clipboard transmission complete"));
|
|
||||||
}
|
}
|
||||||
else if (r == kStart) {
|
else if (r == kStart) {
|
||||||
size_t size = ClipboardChunk::getExpectedSize();
|
size_t size = ClipboardChunk::getExpectedSize();
|
||||||
LOG((CLOG_DEBUG "receiving %u bytes of clipboard data", size));
|
LOG((CLOG_DEBUG "receiving clipboard %d size=%d", id, size));
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user