diff options
Diffstat (limited to 'src')
-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; } |