X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=driver%2Fxscreensaver-command.c;h=cc169d2792d3ea6384b2b8e1cf5a4cd6d77dad14;hb=278c59e14c53fd412b734e699bd4f314f766f804;hp=09ae5a013c3e7c7f59e11b561dcbdd1a84dd3b06;hpb=f3e0240915ed9f9b3a61781f5c7002d587563fe0;p=xscreensaver diff --git a/driver/xscreensaver-command.c b/driver/xscreensaver-command.c index 09ae5a01..cc169d27 100644 --- a/driver/xscreensaver-command.c +++ b/driver/xscreensaver-command.c @@ -1,5 +1,5 @@ -/* xscreensaver-command, Copyright (c) 1991-1997 - * by Jamie Zawinski +/* xscreensaver-command, Copyright (c) 1991-1999 + * by 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 @@ -15,241 +15,270 @@ #endif #include +#include +#include +#include + +#ifdef HAVE_UNISTD_H +# include +#endif + #include /* for CARD32 */ #include #include #include /* for XGetClassHint() */ #include -#include +#include /* only needed to get through xscreensaver.h */ + +#include "remote.h" #include "version.h" #ifdef _VROOT_H_ ERROR! you must not include vroot.h in this file #endif +char *progname; + +Atom XA_VROOT; +Atom XA_SCREENSAVER, XA_SCREENSAVER_VERSION, XA_SCREENSAVER_RESPONSE; +Atom XA_SCREENSAVER_ID, XA_SCREENSAVER_TIME, XA_SELECT, XA_DEMO; +static Atom XA_ACTIVATE, XA_DEACTIVATE, XA_CYCLE, XA_NEXT, XA_PREV, XA_EXIT; +static Atom XA_RESTART, XA_PREFS, XA_LOCK, XA_THROTTLE, XA_UNTHROTTLE; + static char *screensaver_version; -static char *usage = "usage: %s -\n\ +static char *usage = "\n\ +usage: %s -