mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-03-24 01:34:04 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user