[gnome-remote-desktop] clipboard-rdp: Advertise huge file support
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-remote-desktop] clipboard-rdp: Advertise huge file support
- Date: Wed, 17 Mar 2021 12:40:39 +0000 (UTC)
commit 9b5c3318709dc5e41d9173dbac5d2050e4e5b423
Author: Pascal Nowack <Pascal Nowack gmx de>
Date: Thu Mar 11 22:42:22 2021 +0100
clipboard-rdp: Advertise huge file support
gnome-remote-desktop already supports huge files.
However, it was not possible to advertise this to RDP clients, as
FreeRDP didn't implement the handling of the huge file flag until
FreeRDP 2.3.
Now that the FreeRDP version requirement is bumped to 2.3,
gnome-remote-desktop is now able to advertise this flag, so do it.
src/grd-clipboard-rdp.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/grd-clipboard-rdp.c b/src/grd-clipboard-rdp.c
index 1b90d13..07b0c2c 100644
--- a/src/grd-clipboard-rdp.c
+++ b/src/grd-clipboard-rdp.c
@@ -1507,6 +1507,9 @@ grd_clipboard_rdp_new (GrdSessionRdp *session_rdp,
cliprdr_context->streamFileClipEnabled = TRUE;
cliprdr_context->fileClipNoFilePaths = TRUE;
cliprdr_context->canLockClipData = FALSE;
+#ifdef HAVE_FREERDP_2_3
+ cliprdr_context->hasHugeFileSupport = TRUE;
+#endif /* HAVE_FREERDP_2_3 */
cliprdr_context->ClientCapabilities = cliprdr_client_capabilities;
cliprdr_context->ClientFormatList = cliprdr_client_format_list;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]