aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Atoms.c12
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Options.c1
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Options.h10
3 files changed, 0 insertions, 23 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
index bf64369eb..a27da0289 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
@@ -211,12 +211,8 @@ int nxagentQueryAtoms(ScreenPtr pScreen)
int num_of_atoms = NXAGENT_NUMBER_OF_ATOMS;
char *names[NXAGENT_NUMBER_OF_ATOMS];
- unsigned long int startingTime = GetTimeInMillis();
-
#ifdef TEST
fprintf(stderr, "nxagentQueryAtoms: Going to create the intern atoms on real display.\n");
-
- fprintf(stderr, "nxagentQueryAtoms: Starting time is [%ld].\n", startingTime);
#endif
nxagentPrintAtomMapInfo("nxagentQueryAtoms: Entering");
@@ -317,14 +313,6 @@ int nxagentQueryAtoms(ScreenPtr pScreen)
fprintf(stderr, "nxagentQueryAtoms: Created intern atom [%s] with id [%ld].\n",
names[i], nxagentAtoms[i]);
}
-
- #endif
-
- nxagentChangeOption(DisplayLatency, GetTimeInMillis() - startingTime);
-
- #ifdef TEST
- fprintf(stderr, "nxagentQueryAtoms: Ending time is [%ld] reference latency is [%d] Ms.\n",
- GetTimeInMillis(), nxagentOption(DisplayLatency));
#endif
nxagentPrintAtomMapInfo("nxagentQueryAtoms: Exiting");
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Options.c b/nx-X11/programs/Xserver/hw/nxagent/Options.c
index 10e006a23..5c3a44c23 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Options.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Options.c
@@ -133,7 +133,6 @@ void nxagentInitOptions(void)
nxagentOptions.Xdmcp = 0;
- nxagentOptions.DisplayLatency = 0;
nxagentOptions.DisplayBuffer = UNDEFINED;
nxagentOptions.DisplayCoalescence = 0;
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Options.h b/nx-X11/programs/Xserver/hw/nxagent/Options.h
index 88bb60e8f..02e1890b3 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Options.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Options.h
@@ -295,16 +295,6 @@ typedef struct _AgentOptions
int Xdmcp;
/*
- * Latency of the link. It is simply set
- * to a reference value, calculated based
- * on the time required to complete the
- * query of the agent's atoms at session
- * startup.
- */
-
- int DisplayLatency;
-
- /*
* Size of the Xlib display buffer. The
* default is set according to the link
* type.