1 /* xscreensaver, Copyright (c) 1993-1996 Jamie Zawinski <jwz@netscape.com>
3 * Permission to use, copy, modify, distribute, and sell this software and its
4 * documentation for any purpose is hereby granted without fee, provided that
5 * the above copyright notice appear in all copies and that both that
6 * copyright notice and this permission notice appear in supporting
7 * documentation. No representations are made about the suitability of this
8 * software for any purpose. It is provided "as is" without express or
31 /* #### If anyone ever finishes the Athena locking code, remove this.
32 Until then, Locking requires Motif. */
39 extern char *progname, *progclass;
40 extern char *screensaver_version;
43 extern Screen *screen;
44 extern Visual *visual;
45 extern int visual_depth;
47 extern Bool verbose_p;
49 extern FILE *real_stderr;
50 extern FILE *real_stdout;
52 extern void initialize_screensaver_window P((void));
53 extern void raise_window P((Bool inhibit_fade, Bool between_hacks_p));
54 extern void blank_screen P((void));
55 extern void unblank_screen P((void));
56 extern void restart_process P((void));
58 extern void restore_real_vroot P((void));
60 extern void spawn_screenhack P((Bool));
61 extern void kill_screenhack P((void));
63 extern Colormap copy_colormap P((Display *, Colormap, Colormap));
64 extern void fade_colormap P((Display*,Colormap,Colormap,int,int,Bool,Bool));
65 extern void blacken_colormap P((Display *, Colormap));
67 extern int BadWindow_ehandler P((Display *dpy, XErrorEvent *error));
69 extern char *timestring P((void));
70 extern Bool window_exists_p P((Display *dpy, Window window));