fix invalidate message

This commit is contained in:
jsorg71 2006-09-22 05:28:47 +00:00
parent 7cdd7191a4
commit de8343eca5
2 changed files with 8 additions and 3 deletions

View File

@ -351,7 +351,8 @@ param4 %d\n", msg, param1, param2, param3, param4);*/
break;
case 200:
rdpup_begin_update();
rdpup_send_area(param1, param2, param3, param4);
rdpup_send_area((param1 >> 16) & 0xffff, param1 & 0xffff,
(param2 >> 16) & 0xffff, param2 & 0xffff);
rdpup_end_update();
break;
}

View File

@ -254,10 +254,14 @@ lib_mod_connect(struct mod* mod)
s_push_layer(s, iso_hdr, 4);
out_uint16_le(s, 103);
out_uint32_le(s, 200);
/* x and y */
i = 0;
out_uint32_le(s, i);
/* width and height */
i = ((mod->width & 0xffff) << 16) | mod->height;
out_uint32_le(s, i);
out_uint32_le(s, 0);
out_uint32_le(s, 0);
out_uint32_le(s, mod->width);
out_uint32_le(s, mod->height);
s_mark_end(s);
len = s->end - s->data;
s_pop_layer(s, iso_hdr);