/* dotfile.c --- management of the ~/.xscreensaver file.
- * xscreensaver, Copyright (c) 1998, 2003 Jamie Zawinski <jwz@jwz.org>
+ * xscreensaver, Copyright (c) 1998-2004 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
"timestamp",
"splash",
"splashDuration",
+ "quad",
"demoCommand",
"prefsCommand",
"helpURL",
"sgiSaverExtension",
"mitSaverExtension",
"xidleExtension",
+ "GetViewPortIsFullOfLies",
"procInterrupts",
"overlayStderr",
"overlayTextBackground", /* not saved -- X resources only */
CHECK("timestamp") type = pref_bool, b = p->timestamp_p;
CHECK("splash") type = pref_bool, b = p->splash_p;
CHECK("splashDuration") type = pref_time, t = p->splash_duration;
+ CHECK("quad") type = pref_bool, b = p->quad_p;
CHECK("demoCommand") type = pref_str, s = p->demo_command;
CHECK("prefsCommand") type = pref_str, s = p->prefs_command;
/* CHECK("helpURL") type = pref_str, s = p->help_url; */
CHECK("mitSaverExtension")type = pref_bool, b=p->use_mit_saver_extension;
CHECK("xidleExtension") type = pref_bool, b = p->use_xidle_extension;
CHECK("procInterrupts") type = pref_bool, b = p->use_proc_interrupts;
+ CHECK("GetViewPortIsFullOfLies") type = pref_bool,
+ b = p->getviewport_full_of_lies_p;
CHECK("overlayStderr") type = pref_bool, b = overlay_stderr_p;
CHECK("overlayTextBackground") continue; /* don't save */
CHECK("overlayTextForeground") continue; /* don't save */
p->nice_inferior = get_integer_resource ("nice", "Nice");
p->inferior_memory_limit = get_byte_resource ("memoryLimit", "MemoryLimit");
p->splash_p = get_boolean_resource ("splash", "Boolean");
+ p->quad_p = get_boolean_resource ("quad", "Boolean");
p->capture_stderr_p = get_boolean_resource ("captureStderr", "Boolean");
p->ignore_uninstalled_p = get_boolean_resource ("ignoreUninstalledPrograms",
"Boolean");
"Boolean");
p->use_proc_interrupts = get_boolean_resource ("procInterrupts", "Boolean");
+ p->getviewport_full_of_lies_p =
+ get_boolean_resource ("GetViewPortIsFullOfLies", "Boolean");
+
get_screenhacks (p); /* Parse the "programs" resource. */
p->selected_hack = get_integer_resource ("selected", "Integer");