diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-02 12:28:51 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-04 11:26:52 +1000 |
commit | 575616521aeffb002c4b41de1e77da5c251ee4af (patch) | |
tree | 6b83125849d9a2b236ffe079101c3817ddc30198 | |
parent | bc395e89d2629755e199886dcebb38c4964b2cd1 (diff) |
syndaemon: disable XRecord by default.
XRecord is disabled in the server by default, so let's not have it as default
here.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Julien Cristau <jcristau@debian.org>
-rw-r--r-- | man/syndaemon.man | 6 | ||||
-rw-r--r-- | tools/syndaemon.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/man/syndaemon.man b/man/syndaemon.man index 4f04414..1387f45 100644 --- a/man/syndaemon.man +++ b/man/syndaemon.man @@ -8,7 +8,7 @@ the touchpad when the keyboard is being used. .SH "SYNTAX" .LP syndaemon [\fI\-i idle\-time\fP] [\fI\-d\fP] [\fI\-p pid\-file\fP] -[\fI\-t\fP] [\fI\-k\fP] [\fI\-K\fP] [\fI\-s\fP] +[\fI\-t\fP] [\fI\-k\fP] [\fI\-K\fP] [\fI\-R\fP] [\fI\-s\fP] .SH "DESCRIPTION" .LP Disabling the touchpad while typing avoids unwanted movements of the @@ -49,8 +49,8 @@ Like \-k but also ignore Modifier+Key combos. .LP .TP \fB\-R\fP -Disable the use of the XRecord extension for detecting keyboard activity. -This will force the use of polling the keyboard state. +Use the XRecord extension for detecting keyboard activity instead of polling +the keyboard state. .LP .TP \fB\-s\fP diff --git a/tools/syndaemon.c b/tools/syndaemon.c index 3646e0f..751c2c9 100644 --- a/tools/syndaemon.c +++ b/tools/syndaemon.c @@ -84,7 +84,7 @@ usage(void) fprintf(stderr, " -t Only disable tapping and scrolling, not mouse movements.\n"); fprintf(stderr, " -k Ignore modifier keys when monitoring keyboard activity.\n"); fprintf(stderr, " -K Like -k but also ignore Modifier+Key combos.\n"); - fprintf(stderr, " -R Don't use the XRecord extension.\n"); + fprintf(stderr, " -R Use the XRecord extension.\n"); exit(1); } @@ -546,7 +546,7 @@ main(int argc, char *argv[]) double idle_time = 2.0; int poll_delay = 200000; /* 200 ms */ int c; - int use_xrecord = 1; + int use_xrecord = 0; /* Parse command line parameters */ while ((c = getopt(argc, argv, "i:m:dtp:kKR?")) != EOF) { @@ -577,7 +577,7 @@ main(int argc, char *argv[]) use_shm = 1; break; case 'R': - use_xrecord = 0; + use_xrecord = 1; break; default: usage(); |