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
3563959c
Commit
3563959c
authored
Aug 16, 2019
by
Ulrich Sibiller
Committed by
Mike Gabriel
Aug 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NXdispatch.c: move nxagentWMtimeout into the function
it is only used there, no need for a global variable
parent
c34d1b20
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
NXdispatch.c
nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
+3
-8
No files found.
nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
View file @
3563959c
...
@@ -141,10 +141,6 @@ void nxagentWaitDisplay(void);
...
@@ -141,10 +141,6 @@ void nxagentWaitDisplay(void);
void
nxagentListRemoteFonts
(
const
char
*
,
int
);
void
nxagentListRemoteFonts
(
const
char
*
,
int
);
#ifdef NXAGENT_ONSTART
unsigned
int
nxagentWMtimeout
=
0
;
#endif
/*
/*
* Timeouts based on screen saver time.
* Timeouts based on screen saver time.
*/
*/
...
@@ -264,12 +260,11 @@ Dispatch(void)
...
@@ -264,12 +260,11 @@ Dispatch(void)
#ifdef NXAGENT_ONSTART
#ifdef NXAGENT_ONSTART
/*
/*
* Set NX_WM property (used by NX client to identify
* Set NX_WM property (used by NX client to identify the agent's
* the agent's window) three seconds since the first
* window) three seconds since the first client connects.
* client connects.
*/
*/
nxagentWMtimeout
=
GetTimeInMillis
()
+
3000
;
unsigned
int
nxagentWMtimeout
=
GetTimeInMillis
()
+
3000
;
#endif
#endif
...
...
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