diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-06-30 12:37:04 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-06-30 12:37:04 +0200 |
commit | 314ec41b8e26ba6d161f0a47d08ce5f239d9bb1c (patch) | |
tree | 4ca541c9c14b9b015e5f12227e784a7a418d8d9a /nx-X11/programs/Xserver/hw/nxagent/Literals.h | |
parent | e18eb77f397b72c1a10141d2bafa2dc975ab7d38 (diff) | |
parent | 8f3b446b1336d2c54690468c062c3098df96ba96 (diff) | |
download | nx-libs-314ec41b8e26ba6d161f0a47d08ce5f239d9bb1c.tar.gz nx-libs-314ec41b8e26ba6d161f0a47d08ce5f239d9bb1c.tar.bz2 nx-libs-314ec41b8e26ba6d161f0a47d08ce5f239d9bb1c.zip |
Merge branch 'uli42-pr/various10' into 3.6.x
Attribute GH PR #1075: https://github.com/ArcticaProject/nx-libs/pull/1075
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Literals.h')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Literals.h | 19 |
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 */ |