diff options
author | jsorg71 <jsorg71> | 2008-06-01 05:39:44 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2008-06-01 05:39:44 +0000 |
commit | 28d25ba682995f1b2f364d61d0a0f8b5193fe237 (patch) | |
tree | d014b46dbfc45f713c610d81eca2e2c14dda1364 /rdp/rdp_rdp.c | |
parent | 4f9e8d5d869b88a46665fa01bfae4ba11b316430 (diff) | |
download | xrdp-proprietary-28d25ba682995f1b2f364d61d0a0f8b5193fe237.tar.gz xrdp-proprietary-28d25ba682995f1b2f364d61d0a0f8b5193fe237.zip |
fix mono cursor issue with librdp
Diffstat (limited to 'rdp/rdp_rdp.c')
-rw-r--r-- | rdp/rdp_rdp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rdp/rdp_rdp.c b/rdp/rdp_rdp.c index 53dc2b94..d6026ba8 100644 --- a/rdp/rdp_rdp.c +++ b/rdp/rdp_rdp.c @@ -271,7 +271,7 @@ static int APP_CC rdp_rdp_out_pointer_caps(struct rdp_rdp* self, struct stream* s) { out_uint16_le(s, RDP_CAPSET_POINTER); - out_uint16_le(s, RDP_CAPLEN_POINTER); + out_uint16_le(s, RDP_CAPLEN_POINTER_MONO); out_uint16_le(s, 0); /* Color pointer */ out_uint16_le(s, 20); /* Cache size */ return 0; @@ -355,7 +355,7 @@ rdp_rdp_send_confirm_active(struct rdp_rdp* self, struct stream* s) caplen = RDP_CAPLEN_GENERAL + RDP_CAPLEN_BITMAP + RDP_CAPLEN_ORDER + RDP_CAPLEN_BMPCACHE + RDP_CAPLEN_COLCACHE + RDP_CAPLEN_ACTIVATE + RDP_CAPLEN_CONTROL + - RDP_CAPLEN_POINTER + RDP_CAPLEN_SHARE + + RDP_CAPLEN_POINTER_MONO + RDP_CAPLEN_SHARE + 0x58 + 0x08 + 0x08 + 0x34 /* unknown caps */ + 4 /* w2k fix, why? */ ; if (rdp_sec_init(self->sec_layer, s, sec_flags) != 0) |