summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-09-22 05:28:47 +0000
committerjsorg71 <jsorg71>2006-09-22 05:28:47 +0000
commitde8343eca5e37848b58e5e5b77b3d94ebbf929eb (patch)
tree21287897f783238b747fc5f9f15d34f2c8c79354
parent7cdd7191a4243d04b14315f9ae73f1bebaff9953 (diff)
downloadxrdp-proprietary-de8343eca5e37848b58e5e5b77b3d94ebbf929eb.tar.gz
xrdp-proprietary-de8343eca5e37848b58e5e5b77b3d94ebbf929eb.zip
fix invalidate message
-rw-r--r--Xserver/hw/rdp/rdpup.c3
-rw-r--r--xup/xup.c8
2 files changed, 8 insertions, 3 deletions
diff --git a/Xserver/hw/rdp/rdpup.c b/Xserver/hw/rdp/rdpup.c
index c0b27b8f..06e8b026 100644
--- a/Xserver/hw/rdp/rdpup.c
+++ b/Xserver/hw/rdp/rdpup.c
@@ -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;
}
diff --git a/xup/xup.c b/xup/xup.c
index 20716789..b0813d77 100644
--- a/xup/xup.c
+++ b/xup/xup.c
@@ -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);