diff options
author | Giovanni Panozzo <giovanni@panozzo.it> | 2019-05-26 18:57:02 +0300 |
---|---|---|
committer | Giovanni Panozzo <giovanni@panozzo.it> | 2019-05-26 18:57:02 +0300 |
commit | 87a34c421e640a3409e5ee7e8aaacbf6fc045fc0 (patch) | |
tree | 0ccdfd57c068f190521c7708b9e86ce43619e04d /plugins/rdp/rdp_channels.c | |
parent | 4be6204103edd9d899188be6b41bc2ba47973e78 (diff) |
RDP: reenable RDPGFX_CAPVERSION_* and limit minimum resolution, workaround for FreeRDP issue 5417
Diffstat (limited to 'plugins/rdp/rdp_channels.c')
-rw-r--r-- | plugins/rdp/rdp_channels.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/rdp/rdp_channels.c b/plugins/rdp/rdp_channels.c index 7037c0134..60a58db3b 100644 --- a/plugins/rdp/rdp_channels.c +++ b/plugins/rdp/rdp_channels.c @@ -56,8 +56,10 @@ void remmina_rdp_OnChannelConnectedEventHandler(rdpContext* context, ChannelConn g_print("Unimplemented: channel %s connected but we can’t use it\n", e->name); // xf_tsmf_init(xfc, (TsmfClientContext*) e->pInterface); }else if (g_strcmp0(e->name, RDPGFX_DVC_CHANNEL_NAME) == 0) { - if (rfi->settings->SoftwareGdi) + if (rfi->settings->SoftwareGdi) { + rfi->rdpgfxchan = TRUE; gdi_graphics_pipeline_init(context->gdi, (RdpgfxClientContext*) e->pInterface); + } else g_print("Unimplemented: channel %s connected but libfreerdp is in HardwareGdi mode\n", e->name); }else if (g_strcmp0(e->name, RAIL_SVC_CHANNEL_NAME) == 0) { |