Commit 41e1d496 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

nxagent: drop unused DisplayLatency

parent c539e0ca
......@@ -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");
......
......@@ -133,7 +133,6 @@ void nxagentInitOptions(void)
nxagentOptions.Xdmcp = 0;
nxagentOptions.DisplayLatency = 0;
nxagentOptions.DisplayBuffer = UNDEFINED;
nxagentOptions.DisplayCoalescence = 0;
......
......@@ -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.
......
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