diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-10-31 09:45:12 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-11-12 10:25:00 +1000 |
commit | 732fd7e571b81d63aa44d6e4cf55883479e88f2f (patch) | |
tree | a517c1d887e978593e25b5707dc13685d76a5e3b /miext/rootless | |
parent | 96143d6dc35c98cb6b4e409dd89687e4ced3c1f0 (diff) |
Drop trailing whitespaces
sed -i "s/[ ]\+$//g" **/*.(c|h)
happy reviewing...
git diff -w is an empty diff.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'miext/rootless')
-rw-r--r-- | miext/rootless/rootless.h | 2 | ||||
-rw-r--r-- | miext/rootless/rootlessGC.c | 2 | ||||
-rw-r--r-- | miext/rootless/rootlessValTree.c | 32 | ||||
-rw-r--r-- | miext/rootless/rootlessWindow.c | 6 |
4 files changed, 21 insertions, 21 deletions
diff --git a/miext/rootless/rootless.h b/miext/rootless/rootless.h index a3f38b633..1be61cdf3 100644 --- a/miext/rootless/rootless.h +++ b/miext/rootless/rootless.h @@ -319,7 +319,7 @@ typedef struct _RootlessFrameProcs { Bool RootlessInit(ScreenPtr pScreen, RootlessFrameProcsPtr procs); /* - * Return the frame ID for the physical window displaying the given window. + * Return the frame ID for the physical window displaying the given window. * * create If true and the window has no frame, attempt to create one */ diff --git a/miext/rootless/rootlessGC.c b/miext/rootless/rootlessGC.c index 23ff3934e..4fba26c8d 100644 --- a/miext/rootless/rootlessGC.c +++ b/miext/rootless/rootlessGC.c @@ -297,7 +297,7 @@ RootlessCreateGC(GCPtr pGC) * All the others just unwrap and call. */ -// GCFUNC_UNRAP assumes funcs have been wrapped and +// GCFUNC_UNRAP assumes funcs have been wrapped and // does not assume ops have been wrapped #define GCFUNC_UNWRAP(pGC) \ RootlessGCRec *gcrec = (RootlessGCRec *) \ diff --git a/miext/rootless/rootlessValTree.c b/miext/rootless/rootlessValTree.c index c7c2c9935..0f7b76cb6 100644 --- a/miext/rootless/rootlessValTree.c +++ b/miext/rootless/rootlessValTree.c @@ -29,19 +29,19 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. * - * Copyright 1987, 1988, 1989 by + * Copyright 1987, 1988, 1989 by * Digital Equipment Corporation, Maynard, Massachusetts, - * + * * All Rights Reserved - * - * Permission to use, copy, modify, and distribute this software and its - * documentation for any purpose and without fee is hereby granted, + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose and without fee is hereby granted, * provided that the above copyright notice appear in all copies and that - * both that copyright notice and this permission notice appear in + * both that copyright notice and this permission notice appear in * supporting documentation, and that the name of Digital not be * used in advertising or publicity pertaining to distribution of the - * software without specific, written prior permission. - * + * software without specific, written prior permission. + * * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR @@ -49,7 +49,7 @@ in this Software without prior written authorization from The Open Group. * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. - * + * ******************************************************************/ /* The panoramix components contained the following notice */ @@ -80,7 +80,7 @@ dealings in this Software without prior written authorization from Digital Equipment Corporation. ******************************************************************/ - /* + /* * Aug '86: Susan Angebranndt -- original code * July '87: Adam de Boor -- substantially modified and commented * Summer '89: Joel McCormack -- so fast you wouldn't believe it possible. @@ -456,9 +456,9 @@ RootlessTreeObscured(WindowPtr pParent) * *----------------------------------------------------------------------- */ -/* +/* Quartz version: used for validate from root in rootless mode. - We need to make sure top-level windows don't clip each other, + We need to make sure top-level windows don't clip each other, and that top-level windows aren't clipped to the root window. */ /*ARGSUSED*/ @@ -491,9 +491,9 @@ RootlessMiValidateTree(WindowPtr pRoot, /* Parent to validate */ ErrorF("ValidateTree: BUSTED!\n"); } - /* - * Recursively compute the clips for all children of the root. - * They don't clip against each other or the root itself, so + /* + * Recursively compute the clips for all children of the root. + * They don't clip against each other or the root itself, so * childClip is always reset to that child's size. */ @@ -520,7 +520,7 @@ RootlessMiValidateTree(WindowPtr pRoot, /* Parent to validate */ RegionUninit(&childClip); - /* The root is never clipped by its children, so nothing on the root + /* The root is never clipped by its children, so nothing on the root is ever exposed by moving or mapping its children. */ RegionNull(&pRoot->valdata->after.exposed); RegionNull(&pRoot->valdata->after.borderExposed); diff --git a/miext/rootless/rootlessWindow.c b/miext/rootless/rootlessWindow.c index 3dbd5886a..a8f296a39 100644 --- a/miext/rootless/rootlessWindow.c +++ b/miext/rootless/rootlessWindow.c @@ -128,7 +128,7 @@ RootlessNativeWindowMoved(WindowPtr pWin) return; } - /* Don't want to do anything to the physical window (avoids + /* Don't want to do anything to the physical window (avoids notification-response feedback loops) */ no_configure_window = TRUE; @@ -477,7 +477,7 @@ RootlessRealizeWindow(WindowPtr pWin) /* * RootlessFrameForWindow - * Returns the frame ID for the physical window displaying the given window. + * Returns the frame ID for the physical window displaying the given window. * If CREATE is true and the window has no frame, attempt to create one. */ RootlessFrameID @@ -559,7 +559,7 @@ RootlessReorderWindow(WindowPtr pWin) RootlessStopDrawing(pWin, FALSE); - /* Find the next window above this one that has a mapped frame. + /* 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 * relative to onscreen ones (but that the offscreen ones maintain |