Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
41e1d496
Commit
41e1d496
authored
Jul 03, 2019
by
Ulrich Sibiller
Committed by
Mike Gabriel
Sep 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nxagent: drop unused DisplayLatency
parent
c539e0ca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
23 deletions
+0
-23
Atoms.c
nx-X11/programs/Xserver/hw/nxagent/Atoms.c
+0
-12
Options.c
nx-X11/programs/Xserver/hw/nxagent/Options.c
+0
-1
Options.h
nx-X11/programs/Xserver/hw/nxagent/Options.h
+0
-10
No files found.
nx-X11/programs/Xserver/hw/nxagent/Atoms.c
View file @
41e1d496
...
@@ -211,12 +211,8 @@ int nxagentQueryAtoms(ScreenPtr pScreen)
...
@@ -211,12 +211,8 @@ int nxagentQueryAtoms(ScreenPtr pScreen)
int
num_of_atoms
=
NXAGENT_NUMBER_OF_ATOMS
;
int
num_of_atoms
=
NXAGENT_NUMBER_OF_ATOMS
;
char
*
names
[
NXAGENT_NUMBER_OF_ATOMS
];
char
*
names
[
NXAGENT_NUMBER_OF_ATOMS
];
unsigned
long
int
startingTime
=
GetTimeInMillis
();
#ifdef TEST
#ifdef TEST
fprintf
(
stderr
,
"nxagentQueryAtoms: Going to create the intern atoms on real display.
\n
"
);
fprintf
(
stderr
,
"nxagentQueryAtoms: Going to create the intern atoms on real display.
\n
"
);
fprintf
(
stderr
,
"nxagentQueryAtoms: Starting time is [%ld].
\n
"
,
startingTime
);
#endif
#endif
nxagentPrintAtomMapInfo
(
"nxagentQueryAtoms: Entering"
);
nxagentPrintAtomMapInfo
(
"nxagentQueryAtoms: Entering"
);
...
@@ -317,14 +313,6 @@ int nxagentQueryAtoms(ScreenPtr pScreen)
...
@@ -317,14 +313,6 @@ int nxagentQueryAtoms(ScreenPtr pScreen)
fprintf
(
stderr
,
"nxagentQueryAtoms: Created intern atom [%s] with id [%ld].
\n
"
,
fprintf
(
stderr
,
"nxagentQueryAtoms: Created intern atom [%s] with id [%ld].
\n
"
,
names
[
i
],
nxagentAtoms
[
i
]);
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
#endif
nxagentPrintAtomMapInfo
(
"nxagentQueryAtoms: Exiting"
);
nxagentPrintAtomMapInfo
(
"nxagentQueryAtoms: Exiting"
);
...
...
nx-X11/programs/Xserver/hw/nxagent/Options.c
View file @
41e1d496
...
@@ -133,7 +133,6 @@ void nxagentInitOptions(void)
...
@@ -133,7 +133,6 @@ void nxagentInitOptions(void)
nxagentOptions
.
Xdmcp
=
0
;
nxagentOptions
.
Xdmcp
=
0
;
nxagentOptions
.
DisplayLatency
=
0
;
nxagentOptions
.
DisplayBuffer
=
UNDEFINED
;
nxagentOptions
.
DisplayBuffer
=
UNDEFINED
;
nxagentOptions
.
DisplayCoalescence
=
0
;
nxagentOptions
.
DisplayCoalescence
=
0
;
...
...
nx-X11/programs/Xserver/hw/nxagent/Options.h
View file @
41e1d496
...
@@ -295,16 +295,6 @@ typedef struct _AgentOptions
...
@@ -295,16 +295,6 @@ typedef struct _AgentOptions
int
Xdmcp
;
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
* Size of the Xlib display buffer. The
* default is set according to the link
* default is set according to the link
* type.
* type.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment