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
d1e91fae
Commit
d1e91fae
authored
Jan 29, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
May 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Windows.h, Window.c*: reformat comments
parent
fba279d3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
67 additions
and
95 deletions
+67
-95
Window.c
nx-X11/programs/Xserver/hw/nxagent/Window.c
+51
-73
Windows.h
nx-X11/programs/Xserver/hw/nxagent/Windows.h
+16
-22
No files found.
nx-X11/programs/Xserver/hw/nxagent/Window.c
View file @
d1e91fae
This diff is collapsed.
Click to expand it.
nx-X11/programs/Xserver/hw/nxagent/Windows.h
View file @
d1e91fae
...
...
@@ -50,16 +50,14 @@ typedef struct
void
*
pPicture
;
/*
* Set if the window is mapped
* on the remote server.
* Set if the window is mapped on the remote server.
*/
int
isMapped
;
/*
* Set if the window on the remote
* server is redirected by using
* the composite extension.
* Set if the window on the remote server is redirected by using the
* composite extension.
*/
int
isRedirected
;
...
...
@@ -116,9 +114,8 @@ extern int nxagentWindowPrivateIndex;
#define nxagentWindow(pWin) (nxagentWindowPriv(pWin)->window)
/*
* Window is either a child of our root
* or a child of the root of the real X
* server.
* Window is either a child of our root or a child of the root of the
* real X server.
*/
#define nxagentWindowParent(pWin) \
...
...
@@ -165,8 +162,7 @@ extern int nxagentWindowPrivateIndex;
#define CW_RootlessRestack (1 << 18)
/*
* This force the agent to send exposures
* for all windows.
* This force the agent to send exposures for all windows.
*/
#define nxagentRefreshScreen() \
...
...
@@ -182,17 +178,16 @@ extern XlibAtom serverTransToAgentProperty;
#endif
/*
* If the rectangles in an exposed region exceed
* the number of 4, we let the function decide if
* it is better to send the window extents rather
* than the rectangles in the region.
* If the rectangles in an exposed region exceed the number of 4, we
* let the function decide if it is better to send the window extents
* rather than the rectangles in the region.
*/
int
nxagentExtentsPredicate
(
int
total
);
/*
* Agent's nested window procedures. Look also
*
at Rootless.h for the
rootless counterparts.
* Agent's nested window procedures. Look also
at Rootless.h for the
* rootless counterparts.
*/
Bool
nxagentCreateWindow
(
WindowPtr
pWin
);
...
...
@@ -250,8 +245,8 @@ void nxagentMapDefaultWindows(void);
Bool
nxagentSetWindowCursors
(
void
*
p0
);
/*
* The ConfigureWindow procedure has not
*
a pointer in the screen
structure.
* The ConfigureWindow procedure has not
a pointer in the screen
* structure.
*/
void
nxagentConfigureWindow
(
WindowPtr
pWin
,
unsigned
int
mask
);
...
...
@@ -265,10 +260,9 @@ extern unsigned long nxagentVisibilityTimeout;
extern
Bool
nxagentVisibilityStop
;
/*
* Return the pointer to the window given the
* remote id. It tries to match the id from
* the last matched window before iterating
* through the hierarchy.
* Return the pointer to the window given the remote id. It tries to
* match the id from the last matched window before iterating through
* the hierarchy.
*/
WindowPtr
nxagentGetWindowFromID
(
Window
id
);
...
...
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