[X2Go-Commits] [nx-libs] 60/429: Clipboard.c: add missing ifdefs
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 18 09:36:06 CEST 2021
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit ebee6af050edbd60e0148e5939fdf0aecc48400d
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Fri Oct 2 22:04:59 2020 +0200
Clipboard.c: add missing ifdefs
---
nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 6 ++++++
1 file changed, 6 insertions(+)
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
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list