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
1b80750f
Commit
1b80750f
authored
Jan 15, 2021
by
Ulrich Sibiller
Committed by
Mike Gabriel
Jan 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display.c: fix and reformat broken comment
parent
669299de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
Display.c
nx-X11/programs/Xserver/hw/nxagent/Display.c
+11
-12
No files found.
nx-X11/programs/Xserver/hw/nxagent/Display.c
View file @
1b80750f
...
...
@@ -758,18 +758,17 @@ static void nxagentDisplayFlushHandler(Display *disp, int length)
}
/*
* From the changelog for nx-X11-3.0.0-4:
* "Added the _NXDisplayErrorPredicate function in XlibInt.c. It is
* actually a pointer to a function called whenever Xlib is going to
* perform a network operation. If the function returns true, the
* call will be aborted and Xlib will return the control to the ap-
* plication. It is up to the application to set the XlibDisplayIO-
* Error flag after the _NXDisplayErrorPredicate returns true. The
* function can be used to activate additional checks, besides the
* normal failures detected by Xlib on the display socket. For exam-
* ple, the application can set the function to verify if an inter-
* rupt was received or if any other event occurred mandating the
+ end of the session."
* From the changelog for nx-X11-3.0.0-4: "Added the
* _NXDisplayErrorPredicate function in XlibInt.c. It is actually a
* pointer to a function called whenever Xlib is going to perform a
* network operation. If the function returns true, the call will be
* aborted and Xlib will return the control to the application. It is
* up to the application to set the XlibDisplayIO- Error flag after
* the _NXDisplayErrorPredicate returns true. The function can be used
* to activate additional checks, besides the normal failures detected
* by Xlib on the display socket. For example, the application can set
* the function to verify if an interrupt was received or if any other
* event occurred mandating the end of the session."
*/
static
int
nxagentDisplayErrorPredicate
(
Display
*
disp
,
int
error
)
{
...
...
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