diff --git a/src/config/rcxml.c b/src/config/rcxml.c index 9b665d46..aedd7bb4 100644 --- a/src/config/rcxml.c +++ b/src/config/rcxml.c @@ -545,13 +545,13 @@ fill_libinput_category(char *nodename, char *content) ? LIBINPUT_CONFIG_DWT_ENABLED : LIBINPUT_CONFIG_DWT_DISABLED; } else if (!strcasecmp(nodename, "clickMethod")) { - if (!strcmp(content, "none")) { + if (!strcasecmp(content, "none")) { current_libinput_category->click_method = LIBINPUT_CONFIG_CLICK_METHOD_NONE; - } else if (!strcmp(content, "clickfinger")) { + } else if (!strcasecmp(content, "clickfinger")) { current_libinput_category->click_method = LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER; - } else if (!strcmp(content, "buttonAreas")) { + } else if (!strcasecmp(content, "buttonAreas")) { current_libinput_category->click_method = LIBINPUT_CONFIG_CLICK_METHOD_BUTTON_AREAS; } else { diff --git a/src/seat.c b/src/seat.c index 6a483cb3..4fba2ab1 100644 --- a/src/seat.c +++ b/src/seat.c @@ -15,7 +15,6 @@ #include "input/keyboard.h" #include "input/key-state.h" #include "labwc.h" -#include "libinput.h" #include "view.h" static void