Commit 84382e91 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Clipboard.c: CLINDEX and GetXErrorString are only used for debugging

parent 7cda1012
...@@ -186,7 +186,6 @@ const char * GetClientSelectionStageString(int stage) ...@@ -186,7 +186,6 @@ const char * GetClientSelectionStageString(int stage)
#else #else
#define SetClientSelectionStage(stage) do {lastClientStage = SelectionStage##stage;} while (0) #define SetClientSelectionStage(stage) do {lastClientStage = SelectionStage##stage;} while (0)
#define PrintClientSelectionStage() #define PrintClientSelectionStage()
#endif
/* /*
* see also nx-X11/lib/src/ErrDes.c * see also nx-X11/lib/src/ErrDes.c
...@@ -219,6 +218,7 @@ const char * GetXErrorString(int code) ...@@ -219,6 +218,7 @@ const char * GetXErrorString(int code)
default: return("UNKNOWN!"); break;; default: return("UNKNOWN!"); break;;
} }
} }
#endif
/* /*
* Save the values queried from X server. * Save the values queried from X server.
...@@ -1777,7 +1777,7 @@ int nxagentConvertSelection(ClientPtr client, WindowPtr pWin, Atom selection, ...@@ -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] " fprintf(stderr, "%s: client [%d] requests sel [%s] "
"on window [%x] prop [%d][%s] target [%d][%s].\n", __func__, "on window [%x] prop [%d][%s] target [%d][%s].\n", __func__,
CLINDEX(client), validateString(NameForAtom(selection)), requestor, CLINDEX(client), validateString(NameForAtom(selection)), requestor,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment