#4768 Disabled sending clipboard on inactive grab
This commit is contained in:
parent
62c9ca0a7f
commit
2ad4b896f3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue