LibVNCClient: if the GotRect hook is set, override default op.

pull/1/head
dscho 17 years ago
parent 338301c188
commit eb2eeed97e

@ -30,7 +30,7 @@ Glenn Mabutt, Paul Kreiner, Erik Kunze, Mike Frysinger, Martin Waitz,
Mark McLoughlin, Paul Fox, Juan Jose Costello, Andre Leiadella, Mark McLoughlin, Paul Fox, Juan Jose Costello, Andre Leiadella,
Alberto Lusiani, Malvina Mazin, Dave Stuart, Rohit Kumar, Donald Dugger, Alberto Lusiani, Malvina Mazin, Dave Stuart, Rohit Kumar, Donald Dugger,
Steven Carr, Uwe Völker, Charles Coffing, Guillaume Rousse, Steven Carr, Uwe Völker, Charles Coffing, Guillaume Rousse,
Alessandro Praduroux, and Brad Hards. Alessandro Praduroux, Brad Hards, and Timo Ketola.
Probably I forgot quite a few people sending a patch here and there, which Probably I forgot quite a few people sending a patch here and there, which
really made a difference. Without those, some obscure bugs still would really made a difference. Without those, some obscure bugs still would

@ -1,3 +1,7 @@
2007-08-10 Timo Ketola <timo@riihineva.no-ip.org>
* libvncclient/rfbproto.c: add missing else (so that GotRect
handling overrides the default operation).
2007-06-14 Karl Runge <runge@karlrunge.com> 2007-06-14 Karl Runge <runge@karlrunge.com>
* configure.ac: add a note on what you must do if you want to * configure.ac: add a note on what you must do if you want to
re-run autoconf from the LibVNCServer-X.Y.Z.tar.gz tarball. re-run autoconf from the LibVNCServer-X.Y.Z.tar.gz tarball.

@ -1287,8 +1287,8 @@ HandleRFBServerMessage(rfbClient* client)
if (client->GotCopyRect != NULL) { if (client->GotCopyRect != NULL) {
client->GotCopyRect(client, cr.srcX, cr.srcY, rect.r.w, rect.r.h, client->GotCopyRect(client, cr.srcX, cr.srcY, rect.r.w, rect.r.h,
rect.r.x, rect.r.y); rect.r.x, rect.r.y);
} } else
CopyRectangleFromRectangle(client, CopyRectangleFromRectangle(client,
cr.srcX, cr.srcY, rect.r.w, rect.r.h, cr.srcX, cr.srcY, rect.r.w, rect.r.h,
rect.r.x, rect.r.y); rect.r.x, rect.r.y);

Loading…
Cancel
Save