diff options
author | Alexander Dorokhine <arrenlex@gmail.com> | 2009-10-30 12:29:02 +0100 |
---|---|---|
committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2009-10-30 12:36:52 +0100 |
commit | 62ae6bb7bef5a2f2a20cd2e39521e58e9874f189 (patch) | |
tree | 337b234a0e6961751a1456a3e8227d65b3e05676 /libvncclient/rfbproto.c | |
parent | b02849ab807bf756a748ce7e174d85a745c49b1e (diff) | |
download | libtdevnc-62ae6bb7bef5a2f2a20cd2e39521e58e9874f189.tar.gz libtdevnc-62ae6bb7bef5a2f2a20cd2e39521e58e9874f189.zip |
libvncclient: Add FinishedFrameBufferUpdate callback
When working on a program which searches the display for some image, one
does not want to search again without getting an FB update. Add a
callback to make this possible.
Diffstat (limited to 'libvncclient/rfbproto.c')
-rw-r--r-- | libvncclient/rfbproto.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvncclient/rfbproto.c b/libvncclient/rfbproto.c index 21e5088..3b5c9c2 100644 --- a/libvncclient/rfbproto.c +++ b/libvncclient/rfbproto.c @@ -1553,6 +1553,9 @@ HandleRFBServerMessage(rfbClient* client) if (!SendIncrementalFramebufferUpdateRequest(client)) return FALSE; + if (client->FinishedFrameBufferUpdate) + client->FinishedFrameBufferUpdate(client); + break; } |