summaryrefslogtreecommitdiff
path: root/xeyes.c
diff options
context:
space:
mode:
authorDylan Simon <dylan@dylex.net>2009-10-04 17:41:54 -0400
committerJames Cloos <cloos@jhcloos.com>2009-10-05 18:06:18 -0400
commit610889785caf41146505458beccc5e3662c233db (patch)
treede00170562d3eb976d399983a0336ed45b5a84a3 /xeyes.c
parentdc0f730a4a49f0e436a0a915955997b07bbf56e0 (diff)
New -distance mapping option
Distance mapping makes more efficient use of eye space. Signed-off-by: Dylan Simon <dylan@dylex.net> Signed-off-by: James Cloos <cloos@jhcloos.com>
Diffstat (limited to 'xeyes.c')
-rw-r--r--xeyes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xeyes.c b/xeyes.c
index 1bca7ab..276a084 100644
--- a/xeyes.c
+++ b/xeyes.c
@@ -57,7 +57,7 @@ usage(void)
fprintf(stderr, " [-shape | +shape]");
fprintf(stderr, "\n");
fprintf(stderr,
-" [-outline {color}] [-center {color}] [-backing {backing-store}]\n");
+" [-outline {color}] [-center {color}] [-backing {backing-store}] [-distance]\n");
#ifdef XRENDER
fprintf(stderr,
" [-render | +render]\n");
@@ -78,6 +78,7 @@ static XrmOptionDescRec options[] = {
{"-render", "*eyes.render", XrmoptionNoArg, "TRUE"},
{"+render", "*eyes.render", XrmoptionNoArg, "FALSE"},
#endif
+{"-distance", "*eyes.distance", XrmoptionNoArg, "TRUE"},
};
static Atom wm_delete_window;