瀏覽代碼

The old Unix viewer put the RFB clipboard data both in CLIPBOARD and PRIMARY.

Make sure the new one does the same.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4668 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v1.1.90
Pierre Ossman 13 年之前
父節點
當前提交
cf2443c23e
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      vncviewer/CConn.cxx

+ 3
- 0
vncviewer/CConn.cxx 查看文件

@@ -369,6 +369,9 @@ void CConn::serverCutText(const char* str, rdr::U32 len)

vlog.debug("Got clipboard data: '%s'", buffer);

// RFB doesn't have separate selection and clipboard concepts, so we
// dump the data into both variants.
Fl::copy(buffer, ret, 0);
Fl::copy(buffer, ret, 1);

delete [] buffer;

Loading…
取消
儲存