summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authordscho <dscho>2007-02-01 15:05:55 +0000
committerdscho <dscho>2007-02-01 15:05:55 +0000
commit14b290384a46c5fd9885a7e34d2855dc823771d3 (patch)
treebdb1afa607402080a5b53d3a369c8b71a19452ae /rfb
parent35d481a783474d8b5eab4e9924008414253bbf4c (diff)
downloadlibvncserver-14b290384a46c5fd9885a7e34d2855dc823771d3.zip
libvncserver-14b290384a46c5fd9885a7e34d2855dc823771d3.tar.gz
LibVNCClient: some users do not want to get whole-screen updates; introduce client->updateRect for that
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfbclient.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h
index 17b22b3..541fee1 100644
--- a/rfb/rfbclient.h
+++ b/rfb/rfbclient.h
@@ -124,6 +124,10 @@ typedef struct _rfbClient {
rfbBool listenSpecified;
int listenPort, flashPort;
+ struct {
+ int x, y, w, h;
+ } updateRect;
+
/* Note that the CoRRE encoding uses this buffer and assumes it is big enough
to hold 255 * 255 * 32 bits -> 260100 bytes. 640*480 = 307200 bytes.
Hextile also assumes it is big enough to hold 16 * 16 * 32 bits.
OpenPOWER on IntegriCloud