Merge branch 'unstable' of ssh://guacamole.git.sourceforge.net/gitroot/guacamole/libguac-client-vnc into unstable

This commit is contained in:
Michael Jumper 2011-02-13 01:18:12 -08:00
commit 4a3df25b5a

View File

@ -168,7 +168,8 @@ void guac_vnc_update(rfbClient* client, int x, int y, int w, int h) {
}
}
guac_send_png(io, x, y, png_buffer, w, h);
/* For now, only use layer 0 */
guac_send_png(io, 0, x, y, png_buffer, w, h);
}
@ -177,7 +178,8 @@ void guac_vnc_copyrect(rfbClient* client, int src_x, int src_y, int w, int h, in
guac_client* gc = rfbClientGetClientData(client, __GUAC_CLIENT);
GUACIO* io = gc->io;
guac_send_copy(io, src_x, src_y, w, h, dest_x, dest_y);
/* For now, only use layer 0 */
guac_send_copy(io, 0, src_x, src_y, w, h, 0, dest_x, dest_y);
((vnc_guac_client_data*) gc->data)->copy_rect_used = 1;
}