http://ftp.x.org/contrib/applications/xscreensaver-2.34.tar.gz
[xscreensaver] / driver / xset.c
index 305ce846367944d2d8d4dfb2e4e3ca50a630c59f..1e5cff499a67e6bc69d4d5ed79dfcf73667c204c 100644 (file)
@@ -1,5 +1,5 @@
 /* xset.c --- interacting with server extensions and the builtin screensaver.
- * xscreensaver, Copyright (c) 1991-1998 Jamie Zawinski <jwz@netscape.com>
+ * xscreensaver, Copyright (c) 1991-1998 Jamie Zawinski <jwz@jwz.org>
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
  * documentation for any purpose is hereby granted without fee, provided that
 
 #include "xscreensaver.h"
 
+#ifdef _VROOT_H_
+ERROR!  You must not include vroot.h in this file.
+#endif
+
 \f
 /* 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