summaryrefslogtreecommitdiffstats
path: root/libvncclient/rfbproto.c
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 /libvncclient/rfbproto.c
parent35d481a783474d8b5eab4e9924008414253bbf4c (diff)
downloadlibtdevnc-14b290384a46c5fd9885a7e34d2855dc823771d3.tar.gz
libtdevnc-14b290384a46c5fd9885a7e34d2855dc823771d3.zip
LibVNCClient: some users do not want to get whole-screen updates; introduce client->updateRect for that
Diffstat (limited to 'libvncclient/rfbproto.c')
-rw-r--r--libvncclient/rfbproto.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libvncclient/rfbproto.c b/libvncclient/rfbproto.c
index 2704dee..01c80ca 100644
--- a/libvncclient/rfbproto.c
+++ b/libvncclient/rfbproto.c
@@ -854,8 +854,9 @@ SetFormatAndEncodings(rfbClient* client)
rfbBool
SendIncrementalFramebufferUpdateRequest(rfbClient* client)
{
- return SendFramebufferUpdateRequest(client, 0, 0, client->width,
- client->height, TRUE);
+ return SendFramebufferUpdateRequest(client,
+ client->updateRect.x, client->updateRect.y,
+ client->updateRect.w, client->updateRect.h, TRUE);
}