From 15c7cb8cb2d1d007d417b2f754ffbc4b274dbefe Mon Sep 17 00:00:00 2001 From: Bernhard Miklautz Date: Sat, 23 Sep 2017 15:16:17 +0200 Subject: [PATCH] Enable clipboard channel per default --- client/common/cmdline.c | 2 +- libfreerdp/core/settings.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/common/cmdline.c b/client/common/cmdline.c index e037478..6044fa9 100644 --- a/client/common/cmdline.c +++ b/client/common/cmdline.c @@ -103,7 +103,7 @@ static COMMAND_LINE_ARGUMENT_A args[] = { "drive", COMMAND_LINE_VALUE_REQUIRED, NULL, NULL, NULL, -1, NULL, "Redirect drive" }, { "drives", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL, "Redirect all drives" }, { "home-drive", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL, "Redirect home drive" }, - { "clipboard", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL, "Redirect clipboard" }, + { "clipboard", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL, "Redirect clipboard" }, { "serial", COMMAND_LINE_VALUE_OPTIONAL, NULL, NULL, NULL, -1, "tty", "Redirect serial device" }, { "parallel", COMMAND_LINE_VALUE_OPTIONAL, NULL, NULL, NULL, -1, NULL, "Redirect parallel device" }, { "smartcard", COMMAND_LINE_VALUE_OPTIONAL, NULL, NULL, NULL, -1, NULL, "Redirect smartcard device" }, diff --git a/libfreerdp/core/settings.c b/libfreerdp/core/settings.c index ef4dd8e..fb23d8a 100644 --- a/libfreerdp/core/settings.c +++ b/libfreerdp/core/settings.c @@ -562,6 +562,7 @@ rdpSettings* freerdp_settings_new(DWORD flags) if (!settings->ServerMode) { + settings->RedirectClipboard = TRUE; /* these values are used only by the client part */ settings->HomePath = GetKnownPath(KNOWN_PATH_HOME); -- 2.7.4