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