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
17ab45b9
Commit
17ab45b9
authored
Feb 04, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
May 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XlibInt.c: reformat some comments
parent
e9f628fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
20 deletions
+15
-20
XlibInt.c
nx-X11/lib/src/XlibInt.c
+15
-20
No files found.
nx-X11/lib/src/XlibInt.c
View file @
17ab45b9
...
@@ -128,14 +128,12 @@ xthread_t (*_Xthread_self_fn)(void) = NULL;
...
@@ -128,14 +128,12 @@ xthread_t (*_Xthread_self_fn)(void) = NULL;
static
struct
timeval
retry
;
static
struct
timeval
retry
;
/*
/*
* From Xtranssock.c. Presently the congestion state
* From Xtranssock.c. Presently the congestion state is reported by
* is reported by the proxy to the application, by
* the proxy to the application, by invoking the callback
* invoking the callback directly. The function will
* directly. The function will be possibly used in the future, to be
* be possibly used in the future, to be able to track
* able to track the bandwidth usage even when the NX transport is not
* the bandwidth usage even when the NX transport is
* running. Note that in this sample implementation the congestion
* not running. Note that in this sample implementation
* state is checked very often and can be surely optimized.
* the congestion state is checked very often and can
* be surely optimized.
*/
*/
#ifdef NX_TRANS_CHANGE
#ifdef NX_TRANS_CHANGE
...
@@ -2207,9 +2205,8 @@ _XReply (
...
@@ -2207,9 +2205,8 @@ _XReply (
#ifdef NX_TRANS_SOCKET
#ifdef NX_TRANS_SOCKET
/*
/*
* We are going to block waiting for the remote
* We are going to block waiting for the remote X server. Be sure
* X server. Be sure that the proxy has flushed
* that the proxy has flushed all the data.
* all the data.
*/
*/
#ifdef NX_TRANS_TEST
#ifdef NX_TRANS_TEST
...
@@ -2283,8 +2280,8 @@ _XReply (
...
@@ -2283,8 +2280,8 @@ _XReply (
UnlockNextReplyReader
(
dpy
);
UnlockNextReplyReader
(
dpy
);
#ifdef NX_TRANS_SOCKET
#ifdef NX_TRANS_SOCKET
/*
/*
* The original code has provision
* The original code has provision
for returning
*
for returning
already.
* already.
*/
*/
#endif
#endif
_XIOError
(
dpy
);
_XIOError
(
dpy
);
...
@@ -2413,8 +2410,7 @@ _XAsyncReply(
...
@@ -2413,8 +2410,7 @@ _XAsyncReply(
#ifdef NX_TRANS_SOCKET
#ifdef NX_TRANS_SOCKET
/*
/*
* The original code has provision
* The original code has provision for returning already.
* for returning already.
*/
*/
#endif
#endif
...
@@ -3726,11 +3722,10 @@ _XIOError (
...
@@ -3726,11 +3722,10 @@ _XIOError (
_XDefaultIOError
(
dpy
);
_XDefaultIOError
(
dpy
);
#ifdef NX_TRANS_SOCKET
#ifdef NX_TRANS_SOCKET
/*
/*
* Check if we are supposed to return in the case
* Check if we are supposed to return in the case of a display
* of a display failure. The client which originated
* failure. The client which originated the X operation will have
* the X operation will have to check the value of
* to check the value of the XlibDisplayIOError flag and handle
* the XlibDisplayIOError flag and handle appropria-
* appropriately the display disconnection.
* tely the display disconnection.
*/
*/
if
(
_NXHandleDisplayError
==
0
)
if
(
_NXHandleDisplayError
==
0
)
...
...
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