diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2020-07-05 13:07:33 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2020-07-05 13:07:33 -0700 |
commit | 23e83724df4809fd7857cc609c33ce7e8d3021a4 (patch) | |
tree | c3018d5ce5c474883b9a31aca33962d73a540bd8 /miext | |
parent | b0413b6e99c6b5fbc04229ce64ddf1f41b08e63e (diff) |
Fix spelling/wording issues
Most (but not all) of these were found by using
codespell --builtin clear,rare,usage,informal,code,names
but not everything reported by that was fixed.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'miext')
-rw-r--r-- | miext/rootless/rootless.h | 4 | ||||
-rw-r--r-- | miext/rootless/rootlessCommon.h | 2 | ||||
-rw-r--r-- | miext/rootless/rootlessWindow.c | 6 | ||||
-rw-r--r-- | miext/shadow/shadow.c | 2 | ||||
-rw-r--r-- | miext/sync/misyncstr.h | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/miext/rootless/rootless.h b/miext/rootless/rootless.h index 1be61cdf3..ed3b6c489 100644 --- a/miext/rootless/rootless.h +++ b/miext/rootless/rootless.h @@ -41,7 +41,7 @@ /* Each top-level rootless window has a one-to-one correspondence to a physical - on-screen window. The physical window is refered to as a "frame". + on-screen window. The physical window is referred to as a "frame". */ typedef void *RootlessFrameID; @@ -345,7 +345,7 @@ void RootlessStartDrawing(WindowPtr pWindow); void RootlessStopDrawing(WindowPtr pWindow, Bool flush); /* - * Alocate a new screen pixmap. + * Allocate a new screen pixmap. * miCreateScreenResources does not do this properly with a null * framebuffer pointer. */ diff --git a/miext/rootless/rootlessCommon.h b/miext/rootless/rootlessCommon.h index c3fa2a297..83dec3bb7 100644 --- a/miext/rootless/rootlessCommon.h +++ b/miext/rootless/rootlessCommon.h @@ -269,7 +269,7 @@ void RootlessFlushScreenColormaps(ScreenPtr pScreen); // Move a window to its proper location on the screen. void RootlessRepositionWindow(WindowPtr pWin); -// Move the window to it's correct place in the physical stacking order. +// Move the window to its correct place in the physical stacking order. void RootlessReorderWindow(WindowPtr pWin); void RootlessScreenExpose(ScreenPtr pScreen); diff --git a/miext/rootless/rootlessWindow.c b/miext/rootless/rootlessWindow.c index e3042990c..106d4320e 100644 --- a/miext/rootless/rootlessWindow.c +++ b/miext/rootless/rootlessWindow.c @@ -561,9 +561,9 @@ RootlessReorderWindow(WindowPtr pWin) /* Find the next window above this one that has a mapped frame. * Only include cases where the windows are in the same category of - * hittability to ensure offscreen windows dont get restacked + * hittability to ensure offscreen windows don't get restacked * relative to onscreen ones (but that the offscreen ones maintain - * their stacking order if they are explicitly asked to Reorder + * their stacking order if they are explicitly asked to Reorder). */ newPrevW = pWin->prevSib; @@ -932,7 +932,7 @@ StartFrameResize(WindowPtr pWin, Bool gravity, if (code == (WIDTH_SMALLER | HEIGHT_SMALLER)) { /* Since the window is getting smaller, we can do gravity - repair on it with it's current size, then resize it + repair on it with its current size, then resize it afterwards. */ resize_after = TRUE; diff --git a/miext/shadow/shadow.c b/miext/shadow/shadow.c index 529402d6e..e8d0d51b0 100644 --- a/miext/shadow/shadow.c +++ b/miext/shadow/shadow.c @@ -87,7 +87,7 @@ shadowGetImage(DrawablePtr pDrawable, int sx, int sy, int w, int h, shadowBuf(pScreen); - /* Many apps use GetImage to sync with the visable frame buffer */ + /* Many apps use GetImage to sync with the visible frame buffer */ if (pDrawable->type == DRAWABLE_WINDOW) shadowRedisplay(pScreen); unwrap(pBuf, pScreen, GetImage); diff --git a/miext/sync/misyncstr.h b/miext/sync/misyncstr.h index 6f89714d6..490cf6194 100644 --- a/miext/sync/misyncstr.h +++ b/miext/sync/misyncstr.h @@ -65,7 +65,7 @@ struct _SyncTrigger { SyncObject *pSync; int64_t wait_value; /* wait value */ unsigned int value_type; /* Absolute or Relative */ - unsigned int test_type; /* transition or Comparision type */ + unsigned int test_type; /* transition or Comparison type */ int64_t test_value; /* trigger event threshold value */ Bool (*CheckTrigger)(struct _SyncTrigger *pTrigger, int64_t newval); |