[Wayland-bugs] [Bug 94520] lastest freerdp changes rfx/nsc_context_reset

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 12 23:40:02 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94520

            Bug ID: 94520
           Summary: lastest freerdp changes rfx/nsc_context_reset
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: weston
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: comicfans44 at gmail.com

lastest freerdp changes 
rfx/nsc_context_reset(NSC_CONTEXT* context);
to
rfx/nsc_context_reset(NSC_CONTEXT* context, UINT32 width, UINT32 height);

compositor-rdp.c needs update with this.

following patch makes it compile but I'm not sure this is logical correct.

diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c
index e603b76..9edbdfc 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,settings->DesktopWidth,settings->DesktopHeight);
 #ifdef HAVE_NSC_RESET
-       nsc_context_reset(peerCtx->nsc_context);
+      
nsc_context_reset(peerCtx->nsc_context,settings->DesktopWidth,settings->DesktopHeight);
 #endif

        if (peersItem->flags & RDP_PEER_ACTIVATED)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160312/7a069fb7/attachment.html>


More information about the wayland-bugs mailing list