s->p += len;
}
-void rdp_send_bitmap_update(void)
+void rdp_send_bitmap_update(unsigned x, unsigned y)
{
STREAM s;
- static unsigned int x = 1, y = 1;
-
- x += 2;
- if (x > 300) {
- x = 2;
- y += 2;
- }
s = rdp_init_data(11*2 + 2*2*3);
out_uint16_le(s, RDP_UPDATE_BITMAP);