diff options
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Rootless.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Rootless.c | 60 |
1 files changed, 26 insertions, 34 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c index a115362d4..ab28cde72 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c @@ -52,8 +52,7 @@ #undef DEBUG /* - * Assigned at the time the root window is - * initialized. + * Assigned at the time the root window is initialized. */ typedef struct @@ -71,10 +70,9 @@ typedef struct nxagentWMHints; /* - * This structure is compatible with 32 - * and 64 bit library interface. It has - * been copied from Xatomtype.h and it's - * a parameter of XChangeProperty(). + * This structure is compatible with 32 and 64 bit library + * interface. It has been copied from Xatomtype.h and it's a parameter + * of XChangeProperty(). */ typedef struct @@ -632,13 +630,13 @@ int nxagentExportProperty(pWin, property, type, format, mode, nUnits, value) for (int i = 0; i < nUnits; i++) { /* - * Exporting the _NET_WM_PING property could - * result in rootless windows being grayed out - * when the compiz window manager is running. + * Exporting the _NET_WM_PING property could result in rootless + * windows being grayed out when the compiz window manager is + * running. * - * Better solution would probably be to handle - * the communication with the window manager - * instead of just getting rid of the property. + * Better solution would probably be to handle the communication + * with the window manager instead of just getting rid of the + * property. */ if ((atomName = NameForAtom(input[i])) != NULL && @@ -702,13 +700,10 @@ int nxagentExportProperty(pWin, property, type, format, mode, nUnits, value) #endif /* - * It seems that clients specifie - * strange windows, perhaps are - * not real windows so we can try - * to let them pass anyway. + * It seems that clients specify strange windows, perhaps are + * not real windows so we can try to let them pass anyway. * * wind[i] = None; - * */ } } @@ -851,8 +846,8 @@ void nxagentImportProperty(Window window, #endif /* - * We settle a property size limit of - * 256K beyond which we simply ignore them. + * We settle a property size limit of 256K beyond which we simply + * ignore them. */ Atom typeL = nxagentRemoteToLocalAtom(type); @@ -897,10 +892,9 @@ void nxagentImportProperty(Window window, else if (strcmp(typeS, "WM_STATE") == 0) { /* - * Contents of property of type WM_STATE - * are {CARD32 state, WINDOW icon}. Only - * the icon field has to be modified before - * importing the property. + * Contents of property of type WM_STATE are {CARD32 state, WINDOW + * icon}. Only the icon field has to be modified before importing + * the property. */ wmState = *(WMState*)buffer; @@ -1107,13 +1101,13 @@ void nxagentImportProperty(Window window, /* * We want to import all properties changed by external clients to - * reflect properties of our internal windows but we must ignore - * all the property notify events generated by our own requests. - * For this purpose we implement a FIFO to record every change pro- - * perty request that we dispatch. In this way, when processing a - * property notify, we can distinguish between the notifications - * generated by our requests from those generated by other clients - * connected to the real X server. + * reflect properties of our internal windows but we must ignore all + * the property notify events generated by our own requests. For this + * purpose we implement a FIFO to record every change property request + * that we dispatch. In this way, when processing a property notify, + * we can distinguish between the notifications generated by our + * requests from those generated by other clients connected to the + * real X server. */ struct nxagentPropertyRec{ @@ -1204,9 +1198,8 @@ void nxagentFreePropertyList(void) } /* - * We are trying to distinguish notify generated by - * an external client from those genarated by our - * own requests. + * We are trying to distinguish notifications generated by an external + * client from those genarated by our own requests. */ Bool nxagentNotifyMatchChangeProperty(void *p) @@ -1240,4 +1233,3 @@ Bool nxagentNotifyMatchChangeProperty(void *p) return True; } - |