summaryrefslogtreecommitdiff
path: root/tools/syndaemon.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-02 12:28:51 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-04 11:26:52 +1000
commit575616521aeffb002c4b41de1e77da5c251ee4af (patch)
tree6b83125849d9a2b236ffe079101c3817ddc30198 /tools/syndaemon.c
parentbc395e89d2629755e199886dcebb38c4964b2cd1 (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>
Diffstat (limited to 'tools/syndaemon.c')
-rw-r--r--tools/syndaemon.c6
1 files changed, 3 insertions, 3 deletions
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();