diff options
| author | Koichiro IWAO <meta@vmeta.jp> | 2017-10-27 13:11:26 +0900 |
|---|---|---|
| committer | metalefty <meta@vmeta.jp> | 2017-11-06 16:18:42 +0900 |
| commit | 391c69731cafdeaa1efef24c037006eaabbb3ab8 (patch) | |
| tree | fa2236b34a7273d8417395e9f274144d0b8ef1a6 /libxrdp | |
| parent | 4a2818e1837542d464099a28d3acedf063b27b18 (diff) | |
| download | xrdp-proprietary-391c69731cafdeaa1efef24c037006eaabbb3ab8.tar.gz xrdp-proprietary-391c69731cafdeaa1efef24c037006eaabbb3ab8.zip | |
libxrdp: advertise horizontal mouse wheel capability
Diffstat (limited to 'libxrdp')
| -rw-r--r-- | libxrdp/xrdp_caps.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libxrdp/xrdp_caps.c b/libxrdp/xrdp_caps.c index 91c25813..0ee6d3e6 100644 --- a/libxrdp/xrdp_caps.c +++ b/libxrdp/xrdp_caps.c @@ -924,7 +924,11 @@ 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) */ - flags = INPUT_FLAG_SCANCODES | INPUT_FLAG_MOUSEX | INPUT_FLAG_UNICODE; + flags = INPUT_FLAG_SCANCODES | + INPUT_FLAG_MOUSEX | + INPUT_FLAG_UNICODE | + TS_INPUT_FLAG_MOUSE_HWHEEL; + if (self->client_info.use_fast_path & 2) { flags |= INPUT_FLAG_FASTPATH_INPUT | INPUT_FLAG_FASTPATH_INPUT2; |
