aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Literals.h
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Literals.h')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Literals.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Literals.h b/nx-X11/programs/Xserver/hw/nxagent/Literals.h
index 691e2b4dd..8230ae1f2 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Literals.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Literals.h
@@ -23,13 +23,13 @@
/* */
/**************************************************************************/
-#ifdef TEST
+#if defined(TEST) || defined(DEBUG)
/*
* Simple table used to translate a request
* opcode to the name of the X request.
*/
-static char *nxagentRequestLiteral[] =
+_X_UNUSED static char *nxagentRequestLiteral[] =
{
"None",
"CreateWindow",
@@ -161,7 +161,7 @@ static char *nxagentRequestLiteral[] =
"NoOperation"
};
-static char *nxagentRenderRequestLiteral[] =
+_X_UNUSED static char *nxagentRenderRequestLiteral[] =
{
"RenderQueryVersion",
"RenderQueryPictFormats",
@@ -202,7 +202,7 @@ static char *nxagentRenderRequestLiteral[] =
"RenderCreateConicalGradient"
};
-static char *nxagentShmRequestLiteral[] =
+_X_UNUSED static char *nxagentShmRequestLiteral[] =
{
"ShmQueryVersion",
"ShmAttach",
@@ -211,4 +211,13 @@ static char *nxagentShmRequestLiteral[] =
"ShmGetImage",
"ShmCreatePixmap"
};
-#endif /* TEST */
+
+/* see include/pixmap.h */
+_X_UNUSED static char *nxagentDrawableTypeLiteral[] =
+{
+ "DRAWABLE_WINDOW",
+ "DRAWABLE_PIXMAP",
+ "UNDRAWABLE_WINDOW",
+ "DRAWABLE_BUFFER"
+};
+#endif /* TEST || DEBUG */