From 4ab78733662e6eb44c0ba6435ee58a8a4d6b264f Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 22 Nov 2021 10:14:33 +1000 Subject: 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 --- src/xf86libinput.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3