aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-10-02 22:04:59 +0200
committerUlrich Sibiller <uli42@gmx.de>2020-11-03 19:53:07 +0100
commitebee6af050edbd60e0148e5939fdf0aecc48400d (patch)
tree17b608a79fee92e7e07930b75ece300542665c1b /nx-X11
parent06173efd3843f7b4cb406d9935c578d82e7c42e6 (diff)
downloadnx-libs-ebee6af050edbd60e0148e5939fdf0aecc48400d.tar.gz
nx-libs-ebee6af050edbd60e0148e5939fdf0aecc48400d.tar.bz2
nx-libs-ebee6af050edbd60e0148e5939fdf0aecc48400d.zip
Clipboard.c: add missing ifdefs
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 73cb1e7e5..0589d33bb 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -1937,17 +1937,23 @@ int nxagentConvertSelection(ClientPtr client, WindowPtr pWin, Atom selection,
*/
XlibAtom p = serverTransToAgentProperty;
XlibAtom t;
+ #ifdef DEBUG
char * pstr = "NX_CUT_BUFFER_SERVER";
const char * tstr;
+ #endif
if (target == clientUTF8_STRING)
{
t = serverUTF8_STRING;
+ #ifdef DEBUG
tstr = szAgentUTF8_STRING;
+ #endif
}
else
{
t = XA_STRING;
+ #ifdef DEBUG
tstr = validateString(NameForAtom(XA_STRING));
+ #endif
}
#ifdef DEBUG