From 2ad4b896f3bd98aeff6021206ce4ba22a45a542c Mon Sep 17 00:00:00 2001 From: "Jerry (Xinyu Hou)" Date: Wed, 20 Jul 2016 09:38:58 -0700 Subject: [PATCH] #4768 Disabled sending clipboard on inactive grab --- src/lib/client/Client.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/lib/client/Client.cpp b/src/lib/client/Client.cpp index d50d1737..500c7d53 100644 --- a/src/lib/client/Client.cpp +++ b/src/lib/client/Client.cpp @@ -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