[X2Go-Commits] [nx-libs] 01/01: Handle SHAPE proto splitup gracefully for legacy Xext proto versions.

git-admin at x2go.org git-admin at x2go.org
Sat Dec 16 09:40:49 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository nx-libs.

commit caa048a18cfbf960e26b521fc918be53205ee4a6
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Dec 16 09:40:44 2017 +0100

    Handle SHAPE proto splitup gracefully for legacy Xext proto versions.
---
 nx-X11/programs/Xserver/Xext/shape.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/nx-X11/programs/Xserver/Xext/shape.c b/nx-X11/programs/Xserver/Xext/shape.c
index fa7f9e2..15e0684 100644
--- a/nx-X11/programs/Xserver/Xext/shape.c
+++ b/nx-X11/programs/Xserver/Xext/shape.c
@@ -41,7 +41,11 @@ in this Software without prior written authorization from The Open Group.
 #include "dixstruct.h"
 #include "resource.h"
 #include "opaque.h"
+#ifdef LEGACY_XEXT_PROTO
+#include <X11/extensions/shape.h>
+#else
 #include <X11/extensions/shapeproto.h>
+#endif
 #include "protocol-versions.h"
 #include "regionstr.h"
 #include "gcstruct.h"

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list