1 /* xscreensaver, Copyright (c) 1993 Jamie Zawinski <jwz@lucid.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
33 extern char *progname, *progclass;
34 extern char *screensaver_version;
37 extern Screen *screen;
38 extern Visual *visual;
39 extern int visual_depth;
41 extern Bool verbose_p;
43 extern void initialize_screensaver_window P(());
44 extern void raise_window P((Bool inhibit_fade, Bool between_hacks_p));
45 extern void blank_screen P(());
46 extern void unblank_screen P((void));
47 extern void restart_process P((void));
49 extern void restore_real_vroot P((void));
51 extern void spawn_screenhack P((Bool));
52 extern void kill_screenhack P((void));
54 extern Colormap copy_colormap P((Display *, Colormap, Colormap));
55 extern void fade_colormap P((Display*, Colormap, Colormap, int, int, Bool));
56 extern void blacken_colormap P((Display *, Colormap));
58 extern int BadWindow_ehandler P((Display *dpy, XErrorEvent *error));