Commit d1e91fae authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Windows.h, Window.c*: reformat comments

parent fba279d3
...@@ -50,16 +50,14 @@ typedef struct ...@@ -50,16 +50,14 @@ typedef struct
void *pPicture; void *pPicture;
/* /*
* Set if the window is mapped * Set if the window is mapped on the remote server.
* on the remote server.
*/ */
int isMapped; int isMapped;
/* /*
* Set if the window on the remote * Set if the window on the remote server is redirected by using the
* server is redirected by using * composite extension.
* the composite extension.
*/ */
int isRedirected; int isRedirected;
...@@ -116,9 +114,8 @@ extern int nxagentWindowPrivateIndex; ...@@ -116,9 +114,8 @@ extern int nxagentWindowPrivateIndex;
#define nxagentWindow(pWin) (nxagentWindowPriv(pWin)->window) #define nxagentWindow(pWin) (nxagentWindowPriv(pWin)->window)
/* /*
* Window is either a child of our root * Window is either a child of our root or a child of the root of the
* or a child of the root of the real X * real X server.
* server.
*/ */
#define nxagentWindowParent(pWin) \ #define nxagentWindowParent(pWin) \
...@@ -165,8 +162,7 @@ extern int nxagentWindowPrivateIndex; ...@@ -165,8 +162,7 @@ extern int nxagentWindowPrivateIndex;
#define CW_RootlessRestack (1 << 18) #define CW_RootlessRestack (1 << 18)
/* /*
* This force the agent to send exposures * This force the agent to send exposures for all windows.
* for all windows.
*/ */
#define nxagentRefreshScreen() \ #define nxagentRefreshScreen() \
...@@ -182,17 +178,16 @@ extern XlibAtom serverTransToAgentProperty; ...@@ -182,17 +178,16 @@ extern XlibAtom serverTransToAgentProperty;
#endif #endif
/* /*
* If the rectangles in an exposed region exceed * If the rectangles in an exposed region exceed the number of 4, we
* the number of 4, we let the function decide if * let the function decide if it is better to send the window extents
* it is better to send the window extents rather * rather than the rectangles in the region.
* than the rectangles in the region.
*/ */
int nxagentExtentsPredicate(int total); int nxagentExtentsPredicate(int total);
/* /*
* Agent's nested window procedures. Look also * Agent's nested window procedures. Look also at Rootless.h for the
* at Rootless.h for the rootless counterparts. * rootless counterparts.
*/ */
Bool nxagentCreateWindow(WindowPtr pWin); Bool nxagentCreateWindow(WindowPtr pWin);
...@@ -250,8 +245,8 @@ void nxagentMapDefaultWindows(void); ...@@ -250,8 +245,8 @@ void nxagentMapDefaultWindows(void);
Bool nxagentSetWindowCursors(void *p0); Bool nxagentSetWindowCursors(void *p0);
/* /*
* The ConfigureWindow procedure has not * The ConfigureWindow procedure has not a pointer in the screen
* a pointer in the screen structure. * structure.
*/ */
void nxagentConfigureWindow(WindowPtr pWin, unsigned int mask); void nxagentConfigureWindow(WindowPtr pWin, unsigned int mask);
...@@ -265,10 +260,9 @@ extern unsigned long nxagentVisibilityTimeout; ...@@ -265,10 +260,9 @@ extern unsigned long nxagentVisibilityTimeout;
extern Bool nxagentVisibilityStop; extern Bool nxagentVisibilityStop;
/* /*
* Return the pointer to the window given the * Return the pointer to the window given the remote id. It tries to
* remote id. It tries to match the id from * match the id from the last matched window before iterating through
* the last matched window before iterating * the hierarchy.
* through the hierarchy.
*/ */
WindowPtr nxagentGetWindowFromID(Window id); WindowPtr nxagentGetWindowFromID(Window id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment