Migrated to newer libguac (layer support)
This commit is contained in:
parent
6355be0f36
commit
5a3eb36e2c
@ -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);
|
guac_client* gc = rfbClientGetClientData(client, __GUAC_CLIENT);
|
||||||
GUACIO* io = gc->io;
|
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;
|
((vnc_guac_client_data*) gc->data)->copy_rect_used = 1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user