summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2021-11-22 10:14:33 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2021-11-24 01:14:05 +0000
commit4ab78733662e6eb44c0ba6435ee58a8a4d6b264f (patch)
tree3f3c510f0ffe6992cdd954b9d869ae16137d17d5
parentb3e65904dbb81181b207711dd7e40c5f85852cfd (diff)
downloadxorg-driver-xf86-input-libinput-4ab78733662e6eb44c0ba6435ee58a8a4d6b264f.tar.gz
Quietly check for the _source option
xf86CheckStrOption returns the same value but doesn't mark it as used in the server and, more importantly, doesn't spam the log with (**) Option "_source" "server/udev" messages. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/xf86libinput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xf86libinput.c b/src/xf86libinput.c
index 0d92b57..f14ae52 100644
--- a/src/xf86libinput.c
+++ b/src/xf86libinput.c
@@ -265,7 +265,7 @@ xf86libinput_is_subdevice(InputInfoPtr pInfo)
char *source;
BOOL is_subdevice;
- source = xf86SetStrOption(pInfo->options, "_source", "");
+ source = xf86CheckStrOption(pInfo->options, "_source", "");
is_subdevice = streq(source, "_driver/libinput");
free(source);