You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
2.1 KiB
50 lines
2.1 KiB
--- vinagre-3.22.0/configure.ac
|
|
+++ vinagre-3.22.0/configure.ac
|
|
@@ -59,7 +59,7 @@ AM_CONDITIONAL([VINAGRE_ENABLE_SSH], [te
|
|
|
|
# Whether to enable support for RDP.
|
|
RDP_DEPS="freerdp x11"
|
|
-RDP_2_DEPS="freerdp2 x11"
|
|
+RDP_2_DEPS="freerdp2 >= 2.0.0 x11"
|
|
AC_ARG_ENABLE([rdp],
|
|
[AS_HELP_STRING([--disable-rdp],
|
|
[Disable Remote Desktop Protocol (RDP) support])])
|
|
--- vinagre-3.22.0/plugins/rdp/vinagre-rdp-tab.c
|
|
+++ vinagre-3.22.0/plugins/rdp/vinagre-rdp-tab.c
|
|
@@ -543,34 +543,9 @@ frdp_end_paint (rdpContext *context)
|
|
static BOOL
|
|
frdp_pre_connect (freerdp *instance)
|
|
{
|
|
+#ifndef HAVE_FREERDP_1_1
|
|
rdpSettings *settings = instance->settings;
|
|
|
|
-#ifdef HAVE_FREERDP_1_1
|
|
- settings->OrderSupport[NEG_DSTBLT_INDEX] = TRUE;
|
|
- settings->OrderSupport[NEG_PATBLT_INDEX] = TRUE;
|
|
- settings->OrderSupport[NEG_SCRBLT_INDEX] = TRUE;
|
|
- settings->OrderSupport[NEG_OPAQUE_RECT_INDEX] = TRUE;
|
|
- settings->OrderSupport[NEG_DRAWNINEGRID_INDEX] = FALSE;
|
|
- settings->OrderSupport[NEG_MULTIDSTBLT_INDEX] = FALSE;
|
|
- settings->OrderSupport[NEG_MULTIPATBLT_INDEX] = FALSE;
|
|
- settings->OrderSupport[NEG_MULTISCRBLT_INDEX] = FALSE;
|
|
- settings->OrderSupport[NEG_MULTIOPAQUERECT_INDEX] = TRUE;
|
|
- settings->OrderSupport[NEG_MULTI_DRAWNINEGRID_INDEX] = FALSE;
|
|
- settings->OrderSupport[NEG_LINETO_INDEX] = TRUE;
|
|
- settings->OrderSupport[NEG_POLYLINE_INDEX] = TRUE;
|
|
- settings->OrderSupport[NEG_MEMBLT_INDEX] = TRUE;
|
|
- settings->OrderSupport[NEG_MEM3BLT_INDEX] = FALSE;
|
|
- settings->OrderSupport[NEG_MEMBLT_V2_INDEX] = TRUE;
|
|
- settings->OrderSupport[NEG_MEM3BLT_V2_INDEX] = FALSE;
|
|
- settings->OrderSupport[NEG_SAVEBITMAP_INDEX] = FALSE;
|
|
- settings->OrderSupport[NEG_GLYPH_INDEX_INDEX] = TRUE;
|
|
- settings->OrderSupport[NEG_FAST_INDEX_INDEX] = TRUE;
|
|
- settings->OrderSupport[NEG_FAST_GLYPH_INDEX] = FALSE;
|
|
- settings->OrderSupport[NEG_POLYGON_SC_INDEX] = FALSE;
|
|
- settings->OrderSupport[NEG_POLYGON_CB_INDEX] = FALSE;
|
|
- settings->OrderSupport[NEG_ELLIPSE_SC_INDEX] = FALSE;
|
|
- settings->OrderSupport[NEG_ELLIPSE_CB_INDEX] = FALSE;
|
|
-#else
|
|
settings->order_support[NEG_DSTBLT_INDEX] = true;
|
|
settings->order_support[NEG_PATBLT_INDEX] = true;
|
|
settings->order_support[NEG_SCRBLT_INDEX] = true;
|