From: Pierre Ossman Date: Mon, 2 Jan 2017 14:16:58 +0000 (+0100) Subject: Respect SendClipboard setting X-Git-Tag: v1.7.90~62 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a432b58232cbe576b7776b674eb8da368c47ce7a;p=tigervnc.git Respect SendClipboard setting --- diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx index a12f783b..1e4ee1aa 100644 --- a/vncviewer/Viewport.cxx +++ b/vncviewer/Viewport.cxx @@ -403,6 +403,9 @@ void Viewport::handleClipboardChange(int source, void *data) assert(self); + if (!sendClipboard) + return; + #if !defined(WIN32) && !defined(__APPLE__) if (!sendPrimary && (source == 0)) return;