aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/205_nxagent_refresh-adsl.full.patch
diff options
context:
space:
mode:
authorOleksandr Shneyder <o.shneyder@phoca-gmbh.de>2014-05-06 13:27:49 +0200
committerOleksandr Shneyder <o.shneyder@phoca-gmbh.de>2014-05-06 13:27:49 +0200
commita544b9d4c77095d8dc098739d30b3d89f876fa16 (patch)
tree0963a29aeacecb761471199d8b237d434d71fd8d /debian/patches/205_nxagent_refresh-adsl.full.patch
parent4bbcbe505ec79294b243a4dac60d4d1bff397336 (diff)
downloadnx-libs-a544b9d4c77095d8dc098739d30b3d89f876fa16.tar.gz
nx-libs-a544b9d4c77095d8dc098739d30b3d89f876fa16.tar.bz2
nx-libs-a544b9d4c77095d8dc098739d30b3d89f876fa16.zip
nxagent: add patch to fix refresh error on RDP connections to Windows 2012 if speed=ADSL.
Diffstat (limited to 'debian/patches/205_nxagent_refresh-adsl.full.patch')
-rw-r--r--debian/patches/205_nxagent_refresh-adsl.full.patch14
1 files changed, 14 insertions, 0 deletions
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 <o.shneyder@phoca-gmbh.de>
+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);