]> source.dussan.org Git - tigervnc.git/commitdiff
[Bugfix] Client didn't receive clipboard selections from a server due wrong
authorAdam Tkac <atkac@redhat.com>
Tue, 16 Jun 2009 10:43:59 +0000 (10:43 +0000)
committerAdam Tkac <atkac@redhat.com>
Tue, 16 Jun 2009 10:43:59 +0000 (10:43 +0000)
CConn::serverCutText prototype.

Reference: https://bugzilla.redhat.com/show_bug.cgi?id=503271

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3839 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/vncviewer/CConn.cxx
unix/vncviewer/CConn.h

index 8a9dfcff068853f81edb305396b6e9ff2aa6b4cf..fed6db3949c10b3045994c2336efd3dd0e97c7aa 100644 (file)
@@ -389,7 +389,7 @@ void CConn::setColourMapEntries(int firstColour, int nColours, rdr::U16* rgbs)
 
 void CConn::bell() { XBell(dpy, 0); }
 
-void CConn::serverCutText(const char* str, int len) {
+void CConn::serverCutText(const char* str, rdr::U32 len) {
   desktop->serverCutText(str,len);
 }
 
index 3bf0a82ea31893c1c97c9dd6c585e42e691e5af4..e3f17c3c9d08216586630cd7fd6c79181ed90459 100644 (file)
@@ -80,7 +80,7 @@ public:
   void setName(const char* name);
   void setColourMapEntries(int firstColour, int nColours, rdr::U16* rgbs);
   void bell();
-  void serverCutText(const char* str, int len);
+  void serverCutText(const char* str, rdr::U32 len);
   void framebufferUpdateStart();
   void framebufferUpdateEnd();
   void beginRect(const rfb::Rect& r, unsigned int encoding);