Browse Source

Forgot to respect the AcceptClipboard option in the

new FLTK based viewer. Patch by Matt McCutchen.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5112 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v1.3.90
Pierre Ossman 11 years ago
parent
commit
5010488214
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      vncviewer/CConn.cxx

+ 3
- 0
vncviewer/CConn.cxx View File

@@ -350,6 +350,9 @@ void CConn::serverCutText(const char* str, rdr::U32 len)
char *buffer;
int size, ret;

if (!acceptClipboard)
return;

size = fl_utf8froma(NULL, 0, str, len);
if (size <= 0)
return;

Loading…
Cancel
Save