Commit 6c75acfc authored by Peter Hutterer's avatar Peter Hutterer

Use xf86SetStrOption to check for string options

This one shows up in the log and marks it as used.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
parent eaf847be
......@@ -2684,9 +2684,9 @@ xf86libinput_parse_calibration_option(InputInfoPtr pInfo,
libinput_device_config_calibration_get_matrix(device, matrix);
memcpy(matrix_out, matrix, sizeof(matrix));
str = xf86CheckStrOption(pInfo->options,
str = xf86SetStrOption(pInfo->options,
if (!str)
......@@ -2914,7 +2914,7 @@ xf86libinput_parse_draglock_option(InputInfoPtr pInfo,
char *str;
str = xf86CheckStrOption(pInfo->options, "DragLockButtons",NULL);
str = xf86SetStrOption(pInfo->options, "DragLockButtons",NULL);
if (draglock_init_from_string(&driver_data->draglock, str) != 0)
xf86IDrvMsg(pInfo, X_ERROR,
"Invalid DragLockButtons option: \"%s\"\n",
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment