diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2018-05-02 15:32:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-02 15:32:13 +0300 |
commit | 454372a4a32e5a091ae42a76de5b2c8de667fe62 (patch) | |
tree | 585acfaa02a5c8b955e9b1514d4f1b987943dd49 | |
parent | 4615c6f73722b4a35938c9895e536a1784eb8f77 (diff) | |
parent | d511336be029c6a9a73dadf7c8ffc0523b2880cf (diff) |
Merge pull request #1597 from FreeRDP/issue-1596
RDP: option to disable fast-path, closes #1596
-rw-r--r-- | plugins/rdp/rdp_plugin.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/plugins/rdp/rdp_plugin.c b/plugins/rdp/rdp_plugin.c index 4559af46b..6e63b8a0b 100644 --- a/plugins/rdp/rdp_plugin.c +++ b/plugins/rdp/rdp_plugin.c @@ -894,8 +894,13 @@ static gboolean remmina_rdp_main(RemminaProtocolWidget* gp) rfi->settings->NegotiateSecurityLayer = True; rfi->settings->CompressionEnabled = True; - rfi->settings->FastPathInput = True; - rfi->settings->FastPathOutput = True; + if (remmina_plugin_service->file_get_int(remminafile, "disable_fastpath", FALSE)) { + rfi->settings->FastPathInput = False; + rfi->settings->FastPathOutput = False; + } else { + rfi->settings->FastPathInput = True; + rfi->settings->FastPathOutput = True; + } /* Orientation and scaling settings */ remmina_rdp_settings_get_orientation_scale_prefs(&desktopOrientation, &desktopScaleFactor, &deviceScaleFactor); @@ -1431,7 +1436,8 @@ static const RemminaProtocolSetting remmina_rdp_advanced_settings[] = { REMMINA_PROTOCOL_SETTING_TYPE_CHECK, "shareprinter", N_("Share local printers"), TRUE, NULL, NULL}, { REMMINA_PROTOCOL_SETTING_TYPE_CHECK, "disablepasswordstoring", N_("Disable password storing"), TRUE, NULL, NULL}, { REMMINA_PROTOCOL_SETTING_TYPE_CHECK, "disableclipboard", N_("Disable clipboard sync"), TRUE, NULL, NULL}, - { REMMINA_PROTOCOL_SETTING_TYPE_CHECK, "console", N_("Attach to console (2003/2003 R2)"), FALSE, NULL, NULL}, + { REMMINA_PROTOCOL_SETTING_TYPE_CHECK, "console", N_("Attach to console (2003/2003 R2)"), TRUE, NULL, NULL}, + { REMMINA_PROTOCOL_SETTING_TYPE_CHECK, "disable_fastpath", N_("Disable fast-path"), TRUE, NULL, NULL}, { REMMINA_PROTOCOL_SETTING_TYPE_CHECK, "gateway_usage", N_("Server detection using RD Gateway"), FALSE, NULL, NULL}, { REMMINA_PROTOCOL_SETTING_TYPE_END, NULL, NULL, FALSE, NULL, NULL} }; |