X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=driver%2Fxset.c;h=1e5cff499a67e6bc69d4d5ed79dfcf73667c204c;hb=2a991a811de4c7b22f812682b267b616a809fd9a;hp=305ce846367944d2d8d4dfb2e4e3ca50a630c59f;hpb=481b95e2617b69e6fd4444432747d7e1e0c3dc85;p=xscreensaver diff --git a/driver/xset.c b/driver/xset.c index 305ce846..1e5cff49 100644 --- a/driver/xset.c +++ b/driver/xset.c @@ -1,5 +1,5 @@ /* xset.c --- interacting with server extensions and the builtin screensaver. - * xscreensaver, Copyright (c) 1991-1998 Jamie Zawinski + * xscreensaver, Copyright (c) 1991-1998 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -30,6 +30,10 @@ #include "xscreensaver.h" +#ifdef _VROOT_H_ +ERROR! You must not include vroot.h in this file. +#endif + /* MIT SCREEN-SAVER server extension hackery. */ @@ -196,8 +200,9 @@ disable_builtin_screensaver (saver_info *si, Bool turn_off_p) desired_allow_exp != current_allow_exp) { if (desired_server_timeout == 0) - printf ("%s%sisabling server builtin screensaver.\n\ - You can re-enable it with \"xset s on\".\n", + fprintf (stderr, + "%s%sisabling server builtin screensaver.\n" + "\tYou can re-enable it with \"xset s on\".\n", (p->verbose_p ? "" : blurb()), (p->verbose_p ? "\n\tD" : ": d")); @@ -264,6 +269,10 @@ disable_builtin_screensaver (saver_info *si, Bool turn_off_p) prototypes in any header file! Thus, the prototypes here. (The stuff in X11/extensions/dpms.h and X11/extensions/dpmsstr.h define the raw X protcol, they don't define the API to libXdpms.a.) + + Some documentation: + Library: ftp://ftp.x.org/pub/R6.4/xc/doc/specs/Xext/DPMSLib.ms + Protocol: ftp://ftp.x.org/pub/R6.4/xc/doc/specs/Xext/DPMS.ms */ #ifdef HAVE_DPMS_EXTENSION