Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FreeRDP/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiovanni Panozzo <giovanni@panozzo.it>2018-05-02 15:09:43 +0300
committerGiovanni Panozzo <giovanni@panozzo.it>2018-05-02 15:09:43 +0300
commitd511336be029c6a9a73dadf7c8ffc0523b2880cf (patch)
tree585acfaa02a5c8b955e9b1514d4f1b987943dd49
parent4615c6f73722b4a35938c9895e536a1784eb8f77 (diff)
RDP: option to disable fastpath, fixes #1596
-rw-r--r--plugins/rdp/rdp_plugin.c12
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}
};