aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-11-03 17:05:52 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-11-04 13:24:43 +0100
commit252b86ee23cf110e7aef2c3605c5be7ff1cd5a69 (patch)
treedf51d615805d20fd43cb66e58d7123abce90a225
parent1af0776481c203765cbb73ec9540991e4f946a70 (diff)
downloadnx-libs-252b86ee23cf110e7aef2c3605c5be7ff1cd5a69.tar.gz
nx-libs-252b86ee23cf110e7aef2c3605c5be7ff1cd5a69.tar.bz2
nx-libs-252b86ee23cf110e7aef2c3605c5be7ff1cd5a69.zip
NXdixfonts.c: Hard-code the enablement of NXAGENT_DANGEROUS_XFONT_LOOP_EXIT.
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c b/nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c
index 8ec4145f0..547dac3f4 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c
@@ -91,6 +91,13 @@ static Bool doListFontsAndAliases(ClientPtr client, LFclosurePtr c);
#undef TEST
#undef DEBUG
+/* This enables code that contains copies of code from libXfont.
+ * We copy+pasted the private _LFWIData type struct into this
+ * file. If this gets ever changed in libXfont, we must follow-up
+ * on that change here, too.
+ */
+#define NXAGENT_DANGEROUS_XFONT_LOOP_EXIT
+
#define NXFONTPATHLENGTH 1024
char _NXFontPath[NXFONTPATHLENGTH];