|
|
@ -968,7 +968,9 @@ xrdp_process_capset_pointercache(struct xrdp_rdp *self, struct stream *s,
|
|
|
|
{
|
|
|
|
{
|
|
|
|
int i;
|
|
|
|
int i;
|
|
|
|
int colorPointerFlag;
|
|
|
|
int colorPointerFlag;
|
|
|
|
|
|
|
|
int no_new_cursor;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
no_new_cursor = self->client_info.pointer_flags & 2;
|
|
|
|
in_uint16_le(s, colorPointerFlag);
|
|
|
|
in_uint16_le(s, colorPointerFlag);
|
|
|
|
self->client_info.pointer_flags = colorPointerFlag;
|
|
|
|
self->client_info.pointer_flags = colorPointerFlag;
|
|
|
|
in_uint16_le(s, i);
|
|
|
|
in_uint16_le(s, i);
|
|
|
@ -987,6 +989,12 @@ xrdp_process_capset_pointercache(struct xrdp_rdp *self, struct stream *s,
|
|
|
|
g_writeln("xrdp_process_capset_pointercache: client does not support "
|
|
|
|
g_writeln("xrdp_process_capset_pointercache: client does not support "
|
|
|
|
"new(color) cursor");
|
|
|
|
"new(color) cursor");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (no_new_cursor)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
g_writeln("xrdp_process_capset_pointercache: new(color) cursor is "
|
|
|
|
|
|
|
|
"disabled by config");
|
|
|
|
|
|
|
|
self->client_info.pointer_flags = 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|