From 864bd77bad1c77040764a89bf7aa275d7fc5b5e9 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 22 Apr 2016 17:39:58 -0700 Subject: [PATCH 2/2] pass width and height to rfx_context_reset and nsc_context_reset upstream freerdp changed this API in 2e110c7f --- src/compositor-rdp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c index 773b6b5..e47bb79 100644 --- a/src/compositor-rdp.c +++ b/src/compositor-rdp.c @@ -867,9 +867,9 @@ xf_peer_activate(freerdp_peer* client) } } - rfx_context_reset(peerCtx->rfx_context); + rfx_context_reset(peerCtx->rfx_context, output->base.width, output->base.height); #ifdef HAVE_NSC_RESET - nsc_context_reset(peerCtx->nsc_context); + nsc_context_reset(peerCtx->nsc_context, output->base.width, output->base.height); #endif if (peersItem->flags & RDP_PEER_ACTIVATED) -- 2.5.5