#5502 Reverted disabled sending clipboard on inactive grab
This reverts commit 2ad4b896f3
.
This commit is contained in:
parent
11d5691bca
commit
3e1a86c3c1
|
@ -704,6 +704,14 @@ 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
|
||||
|
|
Loading…
Reference in New Issue