Skip to content

Commit

Permalink
Respect SendClipboard setting
Browse files Browse the repository at this point in the history
  • Loading branch information
CendioOssman committed Jan 2, 2017
1 parent b7f1d7a commit a432b58
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vncviewer/Viewport.cxx
Expand Up @@ -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;
Expand Down

0 comments on commit a432b58

Please sign in to comment.