#4768 Disabled sending clipboard on inactive grab

This commit is contained in:
Jerry (Xinyu Hou) 2016-07-20 09:38:58 -07:00
parent 62c9ca0a7f
commit 2ad4b896f3
1 changed files with 0 additions and 8 deletions

View File

@ -704,14 +704,6 @@ Client::handleClipboardGrabbed(const Event& event, void*)
m_ownClipboard[info->m_id] = true;
m_sentClipboard[info->m_id] = false;
m_timeClipboard[info->m_id] = 0;
// if we're not the active screen then send the clipboard now,
// otherwise we'll wait until we leave.
Clipboard clipboard;
if (!m_active) {
fillClipboard(info->m_id, &clipboard);
sendClipboard(info->m_id, &clipboard);
}
}
void