libfreerdp-core: fix sending large pointer caps twice
This commit is contained in:
parent
135503612d
commit
0914eb071e
@ -1963,11 +1963,14 @@ void rdp_write_confirm_active(STREAM* s, rdpSettings* settings)
|
||||
rdp_write_offscreen_bitmap_cache_capability_set(s, settings);
|
||||
}
|
||||
|
||||
if (settings->received_caps[CAPSET_TYPE_LARGE_POINTER])
|
||||
{
|
||||
if (settings->large_pointer)
|
||||
{
|
||||
numberCapabilities++;
|
||||
rdp_write_large_pointer_capability_set(s, settings);
|
||||
}
|
||||
}
|
||||
|
||||
if (settings->remote_app)
|
||||
{
|
||||
@ -1982,12 +1985,6 @@ void rdp_write_confirm_active(STREAM* s, rdpSettings* settings)
|
||||
rdp_write_multifragment_update_capability_set(s, settings);
|
||||
}
|
||||
|
||||
if (settings->received_caps[CAPSET_TYPE_LARGE_POINTER])
|
||||
{
|
||||
numberCapabilities++;
|
||||
rdp_write_large_pointer_capability_set(s, settings);
|
||||
}
|
||||
|
||||
if (settings->received_caps[CAPSET_TYPE_SURFACE_COMMANDS])
|
||||
{
|
||||
numberCapabilities++;
|
||||
|
Loading…
Reference in New Issue
Block a user