From f4aebe021a4dde35f89ebaa5e959c012e68dfb07 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Tue, 9 Apr 2019 13:44:34 -0700 Subject: [PATCH] add caps for refreshRect and suppressOutput --- libxrdp/xrdp_caps.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libxrdp/xrdp_caps.c b/libxrdp/xrdp_caps.c index 4d1ab45f..1c0587f5 100644 --- a/libxrdp/xrdp_caps.c +++ b/libxrdp/xrdp_caps.c @@ -810,7 +810,8 @@ xrdp_caps_send_demand_active(struct xrdp_rdp *self) out_uint16_le(s, 0); /* Update capability */ out_uint16_le(s, 0); /* Remote unshare capability */ out_uint16_le(s, 0); /* Compression level */ - out_uint16_le(s, 0); /* Pad */ + out_uint8(s, 1); /* refreshRectSupport */ + out_uint8(s, 1); /* suppressOutputSupport */ /* Output bitmap capability set */ caps_count++;