diff options
Diffstat (limited to 'nx-X11')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/NXevents.c | 5 |
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) && |