rcxml: allow empty values in <libinput>

This restores the old behavior prior to a0d2e6a6.
This commit is contained in:
tokyo4j 2025-08-19 14:13:35 +09:00 committed by Hiroaki Yamamoto
parent b1a8eb7d3a
commit 7041accb56

View file

@ -723,6 +723,9 @@ fill_libinput_category(xmlNode *node)
xmlNode *child;
char *key, *content;
LAB_XML_FOR_EACH(node, child, key, content) {
if (string_null_or_empty(content)) {
continue;
}
if (!strcmp(key, "category")) {
/*
* First we try to get a type based on a number of