aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-05-22 21:43:33 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-11-01 16:36:24 +0100
commit582618af8bbad1da7a40b41b7fcefce0fe096abd (patch)
tree98ff53bd429c10680721981cc8d51e0ffad8b3b7 /nx-X11
parent4c5331afa863ef034dbd31e6afc81a14903ef16b (diff)
downloadnx-libs-582618af8bbad1da7a40b41b7fcefce0fe096abd.tar.gz
nx-libs-582618af8bbad1da7a40b41b7fcefce0fe096abd.tar.bz2
nx-libs-582618af8bbad1da7a40b41b7fcefce0fe096abd.zip
NXEvents.c: mark NX specific code
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXevents.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXevents.c b/nx-X11/programs/Xserver/hw/nxagent/NXevents.c
index da4d71edb..5baadde35 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXevents.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXevents.c
@@ -292,6 +292,7 @@ XYToWindow(int x, int y)
spriteTraceGood = 1; /* root window still there */
+#ifdef NXAGENT_SERVER
if (nxagentOption(Rootless))
{
if (nxagentLastEnteredWindow == NULL)
@@ -310,7 +311,9 @@ XYToWindow(int x, int y)
{
pWin = ROOT->firstChild;
}
-
+#else
+ pWin = ROOT->firstChild;
+#endif
while (pWin)
{
if ((pWin->mapped) &&