Commit 582618af authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

NXEvents.c: mark NX specific code

parent 4c5331af
...@@ -292,6 +292,7 @@ XYToWindow(int x, int y) ...@@ -292,6 +292,7 @@ XYToWindow(int x, int y)
spriteTraceGood = 1; /* root window still there */ spriteTraceGood = 1; /* root window still there */
#ifdef NXAGENT_SERVER
if (nxagentOption(Rootless)) if (nxagentOption(Rootless))
{ {
if (nxagentLastEnteredWindow == NULL) if (nxagentLastEnteredWindow == NULL)
...@@ -310,7 +311,9 @@ XYToWindow(int x, int y) ...@@ -310,7 +311,9 @@ XYToWindow(int x, int y)
{ {
pWin = ROOT->firstChild; pWin = ROOT->firstChild;
} }
#else
pWin = ROOT->firstChild;
#endif
while (pWin) while (pWin)
{ {
if ((pWin->mapped) && if ((pWin->mapped) &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment