diff options
author | dscho <dscho> | 2007-08-14 14:31:08 +0000 |
---|---|---|
committer | dscho <dscho> | 2007-08-14 14:31:08 +0000 |
commit | eb2eeed97e47f6b996c6a7bf9830b0083a66a96f (patch) | |
tree | 9e5ea17ad236307b30d600c95c401a31a78452e2 /libvncclient | |
parent | 338301c1883da09e99647826c73db817bc984366 (diff) | |
download | libtdevnc-eb2eeed97e47f6b996c6a7bf9830b0083a66a96f.tar.gz libtdevnc-eb2eeed97e47f6b996c6a7bf9830b0083a66a96f.zip |
LibVNCClient: if the GotRect hook is set, override default op.
Diffstat (limited to 'libvncclient')
-rw-r--r-- | libvncclient/rfbproto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvncclient/rfbproto.c b/libvncclient/rfbproto.c index 01c80ca..6e87f69 100644 --- a/libvncclient/rfbproto.c +++ b/libvncclient/rfbproto.c @@ -1287,8 +1287,8 @@ HandleRFBServerMessage(rfbClient* client) if (client->GotCopyRect != NULL) { client->GotCopyRect(client, cr.srcX, cr.srcY, rect.r.w, rect.r.h, rect.r.x, rect.r.y); - } - CopyRectangleFromRectangle(client, + } else + CopyRectangleFromRectangle(client, cr.srcX, cr.srcY, rect.r.w, rect.r.h, rect.r.x, rect.r.y); |