diff --git a/protocols/vnc/src/vnc_client.c b/protocols/vnc/src/vnc_client.c index 6c374433..169f2d94 100644 --- a/protocols/vnc/src/vnc_client.c +++ b/protocols/vnc/src/vnc_client.c @@ -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; }