diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-07-03 22:05:58 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-09-29 17:10:05 +0200 |
commit | 41e1d4961d473674e286743a282151a2800ee5b7 (patch) | |
tree | 9d3d7f160e7788ff10e82f60aaeb73845d099fb2 /nx-X11 | |
parent | c539e0ca5c9d23567e7cd9a60a375f73ee4166d7 (diff) | |
download | nx-libs-41e1d4961d473674e286743a282151a2800ee5b7.tar.gz nx-libs-41e1d4961d473674e286743a282151a2800ee5b7.tar.bz2 nx-libs-41e1d4961d473674e286743a282151a2800ee5b7.zip |
nxagent: drop unused DisplayLatency
Diffstat (limited to 'nx-X11')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Atoms.c | 12 | ||||
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Options.c | 1 | ||||
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Options.h | 10 |
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. |