Commit dbe3cc1f authored by Ulrich Sibiller's avatar Ulrich Sibiller

Composite.c: reformat comments

parent 560b7c6c
...@@ -44,8 +44,7 @@ ...@@ -44,8 +44,7 @@
#undef DEBUG #undef DEBUG
/* /*
* Set if the composite extension is supported * Set if the composite extension is supported by the remote display.
* by the remote display.
*/ */
int nxagentCompositeEnable = UNDEFINED; int nxagentCompositeEnable = UNDEFINED;
...@@ -53,8 +52,7 @@ int nxagentCompositeEnable = UNDEFINED; ...@@ -53,8 +52,7 @@ int nxagentCompositeEnable = UNDEFINED;
void nxagentCompositeExtensionInit(void) void nxagentCompositeExtensionInit(void)
{ {
/* /*
* Set the flag only if the initialization * Set the flag only if the initialization completes.
* completes.
*/ */
nxagentCompositeEnable = 0; nxagentCompositeEnable = 0;
...@@ -70,8 +68,8 @@ void nxagentCompositeExtensionInit(void) ...@@ -70,8 +68,8 @@ void nxagentCompositeExtensionInit(void)
if (XCompositeQueryExtension(nxagentDisplay, &eventBase, &errorBase) == 1) if (XCompositeQueryExtension(nxagentDisplay, &eventBase, &errorBase) == 1)
{ {
/* /*
* At the moment we don't need to care * At the moment we don't need to care the version of the
* the version of the extension. * extension.
*/ */
#ifdef TEST #ifdef TEST
...@@ -143,13 +141,12 @@ void nxagentRedirectDefaultWindows(void) ...@@ -143,13 +141,12 @@ void nxagentRedirectDefaultWindows(void)
#endif #endif
/* /*
* When trying to redirect only the top level window, * When trying to redirect only the top level window, and not the
* and not the subwindows, we incur in a strange be- * subwindows, we incur in a strange be- haviour. The top level is
* haviour. The top level is unmapped, mapped, unmap- * unmapped, mapped, unmap- ped and then reparented. This at first
* ped and then reparented. This at first makes the * makes the agent think that the window manager is gone, then the
* agent think that the window manager is gone, then * agent window disappears. To make thinks even more weird, this
* the agent window disappears. To make thinks even * happens only at reconnection.
* more weird, this happens only at reconnection.
*/ */
XCompositeRedirectSubwindows(nxagentDisplay, nxagentDefaultWindows[pScreen->myNum], XCompositeRedirectSubwindows(nxagentDisplay, nxagentDefaultWindows[pScreen->myNum],
......
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