summaryrefslogtreecommitdiffstats
path: root/rfb/rfbclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'rfb/rfbclient.h')
-rw-r--r--rfb/rfbclient.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h
index d8e3fdc..e8754fd 100644
--- a/rfb/rfbclient.h
+++ b/rfb/rfbclient.h
@@ -104,6 +104,7 @@ typedef void (*SoftCursorUnlockScreenProc)(struct _rfbClient* client);
typedef void (*GotFrameBufferUpdateProc)(struct _rfbClient* client, int x, int y, int w, int h);
typedef char* (*GetPasswordProc)(struct _rfbClient* client);
typedef rfbBool (*MallocFrameBufferProc)(struct _rfbClient* client);
+typedef void (*GotXCutTextProc)(struct _rfbClient* client, const char *text, int textlen);
typedef void (*BellProc)(struct _rfbClient* client);
typedef struct _rfbClient {
@@ -136,8 +137,6 @@ typedef struct _rfbClient {
char *desktopName;
rfbPixelFormat format;
rfbServerInitMsg si;
- char *serverCutText;
- rfbBool newServerCutText;
/* sockets.c */
#define RFB_BUF_SIZE 8192
@@ -220,6 +219,7 @@ typedef struct _rfbClient {
/* the pointer returned by GetPassword will be freed after use! */
GetPasswordProc GetPassword;
MallocFrameBufferProc MallocFrameBuffer;
+ GotXCutTextProc GotXCutText;
BellProc Bell;
/* Which messages are supported by the server