From 6cfd9afee967ec1bd69c1ff2f9efb03c75d0a55d Mon Sep 17 00:00:00 2001 From: dscho Date: Mon, 11 Sep 2006 14:49:12 +0000 Subject: make cut text handling using a hook --- rfb/rfbclient.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rfb') 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 -- cgit v1.1