summaryrefslogtreecommitdiffstats
path: root/libxrdp/xrdp_caps.c
diff options
context:
space:
mode:
authorjsorg71 <jay.sorg@gmail.com>2016-12-11 17:15:34 -0800
committerGitHub <noreply@github.com>2016-12-11 17:15:34 -0800
commit5966de4ee2b8cf14a86b36f47b8015fc17f026ea (patch)
tree11846e66654bd49db06f5b7e7b156f7fe12ea786 /libxrdp/xrdp_caps.c
parenteeb4b19fbd7e3905c080d933ea72c32c81f886a4 (diff)
parentc264862afe5ef3b21f0774bc108782fbc68bede3 (diff)
downloadxrdp-proprietary-5966de4ee2b8cf14a86b36f47b8015fc17f026ea.tar.gz
xrdp-proprietary-5966de4ee2b8cf14a86b36f47b8015fc17f026ea.zip
Merge pull request #536 from jsorg71/unicode
add unicode support
Diffstat (limited to 'libxrdp/xrdp_caps.c')
-rw-r--r--libxrdp/xrdp_caps.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/libxrdp/xrdp_caps.c b/libxrdp/xrdp_caps.c
index a7d1ae1a..e8c32e7d 100644
--- a/libxrdp/xrdp_caps.c
+++ b/libxrdp/xrdp_caps.c
@@ -872,16 +872,10 @@ xrdp_caps_send_demand_active(struct xrdp_rdp *self)
out_uint16_le(s, RDP_CAPSET_INPUT); /* 13(0xd) */
out_uint16_le(s, RDP_CAPLEN_INPUT); /* 88(0x58) */
- /* INPUT_FLAG_SCANCODES 0x0001
- INPUT_FLAG_MOUSEX 0x0004
- INPUT_FLAG_FASTPATH_INPUT 0x0008
- INPUT_FLAG_FASTPATH_INPUT2 0x0020 */
- flags = 0x0001 | 0x0004;
+ flags = INPUT_FLAG_SCANCODES | INPUT_FLAG_MOUSEX | INPUT_FLAG_UNICODE;
if (self->client_info.use_fast_path & 2)
{
- /* 0x0008 INPUT_FLAG_FASTPATH_INPUT */
- /* 0x0020 INPUT_FLAG_FASTPATH_INPUT2 */
- flags |= 0x0008 | 0x0020;
+ flags |= INPUT_FLAG_FASTPATH_INPUT | INPUT_FLAG_FASTPATH_INPUT2;
}
out_uint16_le(s, flags);
out_uint8s(s, 82);