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 /src/XScrnSaver.c | |
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>
Diffstat (limited to 'src/XScrnSaver.c')
-rw-r--r-- | src/XScrnSaver.c | 12 |
1 files changed, 6 insertions, 6 deletions
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; } |