From a544b9d4c77095d8dc098739d30b3d89f876fa16 Mon Sep 17 00:00:00 2001 From: Oleksandr Shneyder Date: Tue, 6 May 2014 13:27:49 +0200 Subject: nxagent: add patch to fix refresh error on RDP connections to Windows 2012 if speed=ADSL. --- debian/changelog | 4 ++++ debian/patches/205_nxagent_refresh-adsl.full.patch | 14 ++++++++++++++ debian/patches/series | 1 + 3 files changed, 19 insertions(+) create mode 100644 debian/patches/205_nxagent_refresh-adsl.full.patch diff --git a/debian/changelog b/debian/changelog index 74fa55e75..a40553858 100644 --- a/debian/changelog +++ b/debian/changelog @@ -19,6 +19,10 @@ nx-libs (2:3.5.0.23-0x2go1) UNRELEASED; urgency=low * nx-libs.spec: + Build our imake against xorg-x11-proto-devel. + [ Oleksandr Shneyder ] + * nxagent: add patch to fix refresh error on RDP connections to Windows 2012 + if speed=ADSL. + -- Mike Gabriel Sat, 04 Jan 2014 22:02:16 +0100 nx-libs (2:3.5.0.22-0x2go2) unstable; urgency=low diff --git a/debian/patches/205_nxagent_refresh-adsl.full.patch b/debian/patches/205_nxagent_refresh-adsl.full.patch new file mode 100644 index 000000000..4840ea7ce --- /dev/null +++ b/debian/patches/205_nxagent_refresh-adsl.full.patch @@ -0,0 +1,14 @@ +Description: Fix refresh errors on Win2012 RDP connections with speed=ADSL +Author: Oleksandr Shneyder +diff -rupN a/nx-X11/programs/Xserver/hw/nxagent/Render.c b/nx-X11/programs/Xserver/hw/nxagent/GCOps.c +--- a/nx-X11/programs/Xserver/hw/nxagent/GCOps.c 2014-05-06 12:52:35.082288455 +0200 ++++ b/nx-X11/programs/Xserver/hw/nxagent/GCOps.c 2014-05-06 12:54:00.258710819 +0200 +@@ -339,7 +339,7 @@ FIXME: The popup could be synchronized w + */ + + if ((pDstDrawable -> type == DRAWABLE_PIXMAP && +- nxagentOption(DeferLevel) > 0) || nxagentOption(DeferLevel) >= 2) ++ nxagentOption(DeferLevel) > 0) || nxagentOption(DeferLevel) >= 3) + { + pClipRegion = nxagentCreateRegion(pSrcDrawable, NULL, srcx, srcy, + width, height); diff --git a/debian/patches/series b/debian/patches/series index 20e281cea..b9fefb9f1 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -43,6 +43,7 @@ 202_nx-X11_enable-xinerama.full.patch 203_nxagent_disable-rootless-exit.full.patch 204_nxagent_repaint-solidpict.full.patch +205_nxagent_refresh-adsl.full.patch 209_x2goagent-add-man-page.full.patch 220_nxproxy-bind-loopback-only.full+lite.patch 300_nxagent_set-wm-class.full.patch -- cgit v1.2.3