aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2017-12-05 21:25:12 +0100
committerMihai Moldovan <ionic@ionic.de>2017-12-07 08:33:44 +0100
commitad53af097ca5ff3c4687ab7c93f776d482760ae8 (patch)
treea7d569f7de444d0acd8f4a09334eec35474f20a3 /nx-X11/programs
parentcdaec755d8800d3cb78e3d7c65b4320c067e27cf (diff)
downloadnx-libs-ad53af097ca5ff3c4687ab7c93f776d482760ae8.tar.gz
nx-libs-ad53af097ca5ff3c4687ab7c93f776d482760ae8.tar.bz2
nx-libs-ad53af097ca5ff3c4687ab7c93f776d482760ae8.zip
Events.c: add ifdef around nxagentRemoteWindowsTree
It is called only if DEBUG_TREE is defined.
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Events.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c
index 4e08cd2c2..d1fdfd21e 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Events.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c
@@ -417,6 +417,8 @@ void nxagentRemoteWindowInfo(Window win, int indent, Bool newLine)
}
}
+
+#ifdef DEBUG_TREE
/*
* Walk remote windows tree.
*/
@@ -480,6 +482,7 @@ void nxagentRemoteWindowsTree(Window window, int level)
XFree((char *) childList);
}
}
+#endif
/*
* Print info about internal window.