aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-12-16 18:42:04 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-01-05 23:36:02 +0100
commit84382e916b69f3a00b636af6961aaa5b0ede8697 (patch)
tree0c0264593c917f6815e04a5b42b41693b9e79abc /nx-X11
parent7cda101247ee8c4d75a4fd9daee4b175f6e54f7c (diff)
downloadnx-libs-84382e916b69f3a00b636af6961aaa5b0ede8697.tar.gz
nx-libs-84382e916b69f3a00b636af6961aaa5b0ede8697.tar.bz2
nx-libs-84382e916b69f3a00b636af6961aaa5b0ede8697.zip
Clipboard.c: CLINDEX and GetXErrorString are only used for debugging
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 9707c19bd..8cc00fca0 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -186,7 +186,6 @@ const char * GetClientSelectionStageString(int stage)
#else
#define SetClientSelectionStage(stage) do {lastClientStage = SelectionStage##stage;} while (0)
#define PrintClientSelectionStage()
-#endif
/*
* see also nx-X11/lib/src/ErrDes.c
@@ -219,6 +218,7 @@ const char * GetXErrorString(int code)
default: return("UNKNOWN!"); break;;
}
}
+#endif
/*
* Save the values queried from X server.
@@ -1777,7 +1777,7 @@ int nxagentConvertSelection(ClientPtr client, WindowPtr pWin, Atom selection,
}
}
- #if defined(TEST) || defined(DEBUG)
+ #ifdef DEBUG
fprintf(stderr, "%s: client [%d] requests sel [%s] "
"on window [%x] prop [%d][%s] target [%d][%s].\n", __func__,
CLINDEX(client), validateString(NameForAtom(selection)), requestor,