-/* xscreensaver, Copyright (c) 1998, 2001 Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 1998-2005 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
*y_ret = 0;
*w_ret = WidthOfScreen (ssi->screen);
*h_ret = HeightOfScreen (ssi->screen);
+
+ if (*w_ret > *h_ret * 2) *w_ret /= 2; /* xinerama kludge */
}
}
+#ifdef __GNUC__
+ __extension__ /* shut up about "string length is greater than the length
+ ISO C89 compilers are required to support" when including
+ the .ad file... */
+#endif
+
static char *fallback[] = {
#include "XScreenSaver_ad.h"
0
hack_uid (si);
- if (! lock_init (argc, argv, si->prefs.verbose_p))
+ if (! lock_init (argc, argv, True))
{
si->locking_disabled_p = True;
si->nolock_reason = "error getting password";
XtGetApplicationNameAndClass (si->dpy, &progname, &progclass);
load_init_file (&si->prefs);
-
}
p->verbose_p = True;