diff options
author | dscho <dscho> | 2007-02-01 15:05:55 +0000 |
---|---|---|
committer | dscho <dscho> | 2007-02-01 15:05:55 +0000 |
commit | 14b290384a46c5fd9885a7e34d2855dc823771d3 (patch) | |
tree | bdb1afa607402080a5b53d3a369c8b71a19452ae /libvncclient/rfbproto.c | |
parent | 35d481a783474d8b5eab4e9924008414253bbf4c (diff) | |
download | libvncserver-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 'libvncclient/rfbproto.c')
-rw-r--r-- | libvncclient/rfbproto.c | 5 |
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); } |