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
fdd1e538
Unverified
Commit
fdd1e538
authored
Nov 02, 2019
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'uli42-pr/simplify_nxdispatch' into 3.6.x
Attributes GH PR #863:
https://github.com/ArcticaProject/nx-libs/pull/863
parents
718a58fb
0fb6af25
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
134 deletions
+59
-134
dispatch.c
nx-X11/programs/Xserver/dix/dispatch.c
+14
-8
NXdispatch.c
nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
+45
-126
No files found.
nx-X11/programs/Xserver/dix/dispatch.c
View file @
fdd1e538
...
...
@@ -213,16 +213,18 @@ UpdateCurrentTimeIf()
currentTime
=
systime
;
}
#ifndef NXAGENT_SERVER
void
InitSelections
()
#ifdef NXAGENT_SERVER
xorg_InitSelections
(
void
)
#else
InitSelections
(
void
)
#endif
{
if
(
CurrentSelections
)
free
(
CurrentSelections
);
CurrentSelections
=
(
Selection
*
)
NULL
;
NumCurrentSelections
=
0
;
}
#endif
/* NXAGENT_SERVER */
#undef SMART_DEBUG
...
...
@@ -3478,11 +3480,14 @@ InitProcVectors(void)
* then killed again, the client is really destroyed.
*********************/
#ifndef NXAGENT_SERVER
char
dispatchExceptionAtReset
=
DE_RESET
;
void
CloseDownClient
(
register
ClientPtr
client
)
#ifdef NXAGENT_SERVER
xorg_CloseDownClient
(
ClientPtr
client
)
#else
CloseDownClient
(
ClientPtr
client
)
#endif
{
Bool
really_close_down
=
client
->
clientGone
||
client
->
closeDownMode
==
DestroyAll
;
...
...
@@ -3567,7 +3572,6 @@ CloseDownClient(register ClientPtr client)
currentMaxClients
--
;
}
}
#endif
/* NXAGENT_SERVER */
static
void
KillAllClients
()
...
...
@@ -3644,9 +3648,12 @@ void InitClient(ClientPtr client, int i, void * ospriv)
client
->
clientIds
=
NULL
;
}
#ifndef NXAGENT_SERVER
int
#ifdef NXAGENT_SERVER
xorg_InitClientPrivates
(
ClientPtr
client
)
#else
InitClientPrivates
(
ClientPtr
client
)
#endif
{
register
char
*
ptr
;
DevUnion
*
ppriv
;
...
...
@@ -3690,7 +3697,6 @@ InitClientPrivates(ClientPtr client)
}
return
1
;
}
#endif
/* NXAGENT_SERVER */
/************************
* int NextAvailableClient(ospriv)
...
...
nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
View file @
fdd1e538
This diff is collapsed.
Click to expand it.
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