diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-16 22:52:51 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-16 22:52:51 -0700 |
commit | 1cd2ab96550b6b7d3abf92f76fe112798af727a4 (patch) | |
tree | 5b01cfca47d272e9b978a8bbb090b6db41abd35a | |
parent | cfd6e22a3722514beefb39c73970715e2037b3ea (diff) |
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
git diff -w & git diff -b show no diffs from this change
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | man/Xss.man | 6 | ||||
-rw-r--r-- | src/XScrnSaver.c | 12 |
4 files changed, 13 insertions, 13 deletions
diff --git a/Makefile.am b/Makefile.am index 2774e62..907af39 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ -# +# # Copyright 2005 Red Hat, Inc. -# +# # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that # the above copyright notice appear in all copies and that both that @@ -10,7 +10,7 @@ # specific, written prior permission. Red Hat makes no # representations about the suitability of this software for any purpose. It # is provided "as is" without express or implied warranty. -# +# # RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO # EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR diff --git a/configure.ac b/configure.ac index 5873e48..ad1da81 100644 --- a/configure.ac +++ b/configure.ac @@ -47,7 +47,7 @@ PKG_CHECK_MODULES(XSCRNSAVER, x11 xext xextproto [scrnsaverproto >= 1.2]) # Allow checking code with lint, sparse, etc. XORG_WITH_LINT XORG_LINT_LIBRARY([Xss]) - + AC_CONFIG_FILES([Makefile src/Makefile man/Makefile diff --git a/man/Xss.man b/man/Xss.man index c9b091d..91f0ccf 100644 --- a/man/Xss.man +++ b/man/Xss.man @@ -337,14 +337,14 @@ be activated again, until the client has canceled the suspension. .SH "ERRORS" .B XScreenSaverSelectInput, .B XScreenSaverQueryInfo, -.B XScreenSaverSetAttributes +.B XScreenSaverSetAttributes and -.B XScreenSaverUnsetAttributes +.B XScreenSaverUnsetAttributes will generate a .I BadDrawable error if \fIdrawable\fP is not a valid drawable identifier. If any undefined bits are set in \fIevent-mask\fP, -a BadValue error is generated by +a BadValue error is generated by .B XScreenSaverSelectInput . .PP .SH AVAILABILITY diff --git a/src/XScrnSaver.c b/src/XScrnSaver.c index c19dc0a..d09612d 100644 --- a/src/XScrnSaver.c +++ b/src/XScrnSaver.c @@ -75,7 +75,7 @@ static /* const */ XExtensionHooks screen_saver_extension_hooks = { }; static XEXT_GENERATE_FIND_DISPLAY (find_display, screen_saver_info, - screen_saver_extension_name, + screen_saver_extension_name, &screen_saver_extension_hooks, ScreenSaverNumberEvents, NULL) @@ -266,7 +266,7 @@ XScreenSaverProcessWindowAttributes ( if (valuemask & CWBackPixmap) *value++ = attributes->background_pixmap; - + if (valuemask & CWBackPixel) *value++ = attributes->background_pixel; @@ -284,7 +284,7 @@ XScreenSaverProcessWindowAttributes ( if (valuemask & CWBackingStore) *value++ = attributes->backing_store; - + if (valuemask & CWBackingPlanes) *value++ = attributes->backing_planes; @@ -352,9 +352,9 @@ void XScreenSaverSetAttributes ( else req->visualID = visual->visualid; /* abuse an Xlib internal interface - is this legal for us? */ - if ((req->mask = valuemask)) + if ((req->mask = valuemask)) XScreenSaverProcessWindowAttributes (dpy, - (xChangeWindowAttributesReq *)req, + (xChangeWindowAttributesReq *)req, valuemask, attributes); UnlockDisplay (dpy); SyncHandle (); @@ -394,7 +394,7 @@ Status XScreenSaverRegister ( return 0; ul = (unsigned long) xid; - XChangeProperty (dpy, RootWindow(dpy,screen), prop, type, 32, + XChangeProperty (dpy, RootWindow(dpy,screen), prop, type, 32, PropModeReplace, (unsigned char *) &ul, 1); return 1; } |