mirror of
https://github.com/TigerVNC/tigervnc.git
synced 2024-07-28 20:18:12 +02:00
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
This commit is contained in:
parent
2b04fa44a5
commit
5010488214
@ -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…
Reference in New Issue
Block a user