Commit 12b96fd9 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

fix formatting and spelling in various files

parent 0a06ee77
...@@ -58,7 +58,7 @@ void nxagentWMDetect(void); ...@@ -58,7 +58,7 @@ void nxagentWMDetect(void);
#ifdef XlibAtom #ifdef XlibAtom
/* /*
* only provide these protoypes if the including file knows about Xlib * only provide these prototypes if the including file knows about Xlib
* types. This allows us including Atoms.h without having to use the * types. This allows us including Atoms.h without having to use the
* Xlib type magic of Agent.h * Xlib type magic of Agent.h
*/ */
......
...@@ -767,7 +767,7 @@ static void nxagentDisplayFlushHandler(Display *disp, int length) ...@@ -767,7 +767,7 @@ static void nxagentDisplayFlushHandler(Display *disp, int length)
* Error flag after the _NXDisplayErrorPredicate returns true. The * Error flag after the _NXDisplayErrorPredicate returns true. The
* function can be used to activate additional checks, besides the * function can be used to activate additional checks, besides the
* normal failures detected by Xlib on the display socket. For exam- * normal failures detected by Xlib on the display socket. For exam-
* ple, the application can set the funciton to verify if an inter- * ple, the application can set the function to verify if an inter-
* rupt was received or if any other event occurred mandating the * rupt was received or if any other event occurred mandating the
+ end of the session." + end of the session."
*/ */
......
...@@ -1127,7 +1127,7 @@ static void nxagentReconnectClip(GCPtr pGC, int type, void * pValue, int nRects) ...@@ -1127,7 +1127,7 @@ static void nxagentReconnectClip(GCPtr pGC, int type, void * pValue, int nRects)
/* /*
* Originally, the clip origin area were 0,0 but it didn't * Originally, the clip origin area were 0,0 but it didn't
* work with kedit and family, because it got the clip mask of * work with kedit and family, because it got the clip mask of
* the pixmap all traslated. * the pixmap all translated.
*/ */
XSetClipRectangles(nxagentDisplay, nxagentGC(pGC), pGC -> clipOrg.x, pGC -> clipOrg.y, XSetClipRectangles(nxagentDisplay, nxagentGC(pGC), pGC -> clipOrg.x, pGC -> clipOrg.y,
......
...@@ -528,13 +528,12 @@ void nxagentReconnectPictFormat(void *p0, XID x1, void *p2) ...@@ -528,13 +528,12 @@ void nxagentReconnectPictFormat(void *p0, XID x1, void *p2)
} }
/* /*
* The set of picture formats may change considerably * The set of picture formats may change considerably between
* between different X servers. This poses a problem * different X servers. This poses a problem while migrating NX
* while migrating NX sessions, because a requisite to * sessions, because a requisite to successfully reconnect the session
* successfully reconnect the session is that all pic- * is that all picture formats have to be available on the new X
* ture formats have to be available on the new X server. * server. To reduce such problems, we use a limited set of pictures
* To reduce such problems, we use a limited set of * available on the most X servers.
* pictures available on the most X servers.
*/ */
void nxagentPictureCreateDefaultFormats(ScreenPtr pScreen, FormatInitRec *formats, int *nformats) void nxagentPictureCreateDefaultFormats(ScreenPtr pScreen, FormatInitRec *formats, int *nformats)
......
...@@ -1245,7 +1245,7 @@ void nxagentFreePropertyList(void) ...@@ -1245,7 +1245,7 @@ void nxagentFreePropertyList(void)
/* /*
* We are trying to distinguish notifications generated by an external * We are trying to distinguish notifications generated by an external
* client from those genarated by our own requests. * client from those generated by our own requests.
*/ */
Bool nxagentNotifyMatchChangeProperty(void *p) Bool nxagentNotifyMatchChangeProperty(void *p)
......
...@@ -112,7 +112,7 @@ SplitResourcePtr nxagentAllocSplitResource(void) ...@@ -112,7 +112,7 @@ SplitResourcePtr nxagentAllocSplitResource(void)
fprintf(stderr, "nxagentAllocSplitResource: PANIC! No more resources for the next split.\n"); fprintf(stderr, "nxagentAllocSplitResource: PANIC! No more resources for the next split.\n");
#endif #endif
/* /*
FIXME: Must deal with the case all resources are exausted. FIXME: Must deal with the case all resources are exhausted.
*/ */
FatalError("nxagentAllocSplitResource: PANIC! No more resources for the next split.\n"); FatalError("nxagentAllocSplitResource: PANIC! No more resources for the next split.\n");
} }
......
...@@ -1530,7 +1530,7 @@ void nxagentConfigureWindow(WindowPtr pWin, unsigned int mask) ...@@ -1530,7 +1530,7 @@ void nxagentConfigureWindow(WindowPtr pWin, unsigned int mask)
* position in the window tree, and pPriorParent is its previous * position in the window tree, and pPriorParent is its previous
* parent. This function can be NULL. * parent. This function can be NULL.
* *
* We simply pass this pver to the real X server. * We simply pass this over to the real X server.
*/ */
void nxagentReparentWindow(WindowPtr pWin, WindowPtr pOldParent) void nxagentReparentWindow(WindowPtr pWin, WindowPtr pOldParent)
{ {
......
...@@ -342,7 +342,7 @@ extern int NXTransFlush(int fd); ...@@ -342,7 +342,7 @@ extern int NXTransFlush(int fd);
* connection. * connection.
* *
* NX_CHANNEL_SLAVE: The channel will forward data to a remote slave * NX_CHANNEL_SLAVE: The channel will forward data to a remote slave
* command (see NX_SLAVE_CMD envrionment variable) * command (see NX_SLAVE_CMD environment variable)
* *
* Only a proxy running at the NX server/X client side will be able * Only a proxy running at the NX server/X client side will be able
* to create a X, CUPS, SMB, MEDIA and HTTP channel. A proxy running * to create a X, CUPS, SMB, MEDIA and HTTP channel. A proxy running
......
...@@ -144,7 +144,7 @@ class Control ...@@ -144,7 +144,7 @@ class Control
T_session_mode SessionMode; T_session_mode SessionMode;
// //
// Either immediate or defferred flushes. // Either immediate or deferred flushes.
// //
T_flush_policy FlushPolicy; T_flush_policy FlushPolicy;
......
...@@ -566,7 +566,7 @@ class MessageStore ...@@ -566,7 +566,7 @@ class MessageStore
// it can contain valid data that must be // it can contain valid data that must be
// explicitly deallocated if not needed. // explicitly deallocated if not needed.
// Note also that you cannot count on the // Note also that you cannot count on the
// initialization made in costructor. // initialization made in constructor.
// //
temporary_ = message; temporary_ = message;
......
...@@ -109,7 +109,7 @@ Remote port used for the connection. ...@@ -109,7 +109,7 @@ Remote port used for the connection.
.TP 8 .TP 8
.B retry=<int> .B retry=<int>
Number of connection atempts. Number of connection attempts.
.TP 8 .TP 8
.B root=<string> .B root=<string>
......
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