libfreerdp-core: updated connection sequence for RemoteApp

This commit is contained in:
Marc-André Moreau 2011-08-08 15:06:07 -04:00
parent d359f026ee
commit 6d8d76a133
2 changed files with 10 additions and 0 deletions

View File

@ -1584,6 +1584,13 @@ void rdp_write_confirm_active(STREAM* s, rdpSettings* settings)
rdp_write_offscreen_bitmap_cache_capability_set(s, settings); rdp_write_offscreen_bitmap_cache_capability_set(s, settings);
} }
if (settings->remote_app)
{
numberCapabilities += 2;
rdp_write_remote_programs_capability_set(s, settings);
rdp_write_window_list_capability_set(s, settings);
}
if (settings->received_caps[CAPSET_TYPE_MULTI_FRAGMENT_UPDATE]) if (settings->received_caps[CAPSET_TYPE_MULTI_FRAGMENT_UPDATE])
{ {
numberCapabilities++; numberCapabilities++;

View File

@ -277,6 +277,9 @@ void rdp_write_info_packet(STREAM* s, rdpSettings* settings)
if (settings->autologon) if (settings->autologon)
flags |= INFO_AUTOLOGON; flags |= INFO_AUTOLOGON;
if (settings->remote_app)
flags |= INFO_RAIL;
if (settings->console_audio) if (settings->console_audio)
flags |= INFO_REMOTECONSOLEAUDIO; flags |= INFO_REMOTECONSOLEAUDIO;