apply xrdp_caps.c patach written by mattt
This commit is contained in:
parent
4599ac7bf6
commit
c53662e3c1
@ -424,7 +424,13 @@ xrdp_caps_process_input(struct xrdp_rdp *self, struct stream *s,
|
||||
}
|
||||
|
||||
// We always advertise Unicode support, so if the client supports it too,
|
||||
// we can use it
|
||||
// we can use it.
|
||||
//
|
||||
// If Unicode support is already active, the CAPSTYPE_INPUT
|
||||
// PDU has been received as part of a Deactivation-Reactivation sequence.
|
||||
// In this case, ignore the flag.
|
||||
if (self->client_info.unicode_input_support != UIS_ACTIVE)
|
||||
{
|
||||
if ((inputFlags & INPUT_FLAG_UNICODE) != 0)
|
||||
{
|
||||
self->client_info.unicode_input_support = UIS_SUPPORTED;
|
||||
@ -435,6 +441,7 @@ xrdp_caps_process_input(struct xrdp_rdp *self, struct stream *s,
|
||||
self->client_info.unicode_input_support = UIS_UNSUPPORTED;
|
||||
LOG(LOG_LEVEL_INFO, "Client does not support Unicode input");
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user