mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 14:41:57 +08:00
Made event selection a little more robust. Also fixed failure
to marshall clipboard data when updating primary clipboards.
This commit is contained in:
@@ -950,6 +950,8 @@ void CServer::updatePrimaryClipboard(ClipboardID id)
|
||||
// if clipboard changed then other screens have an
|
||||
// out-of-date clipboard.
|
||||
if (time != clipboard.m_clipboard.getTime()) {
|
||||
log((CLOG_DEBUG "clipboard %d changed", id));
|
||||
clipboard.m_clipboardData = clipboard.m_clipboard.marshall();
|
||||
clearGotClipboard(id);
|
||||
m_primaryInfo->m_gotClipboard[id] = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user