From 7041accb56428a5c3dcb8de43352b89b5ad70754 Mon Sep 17 00:00:00 2001 From: tokyo4j Date: Tue, 19 Aug 2025 14:13:35 +0900 Subject: [PATCH] rcxml: allow empty values in This restores the old behavior prior to a0d2e6a6. --- src/config/rcxml.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/config/rcxml.c b/src/config/rcxml.c index b913f0c4..48d21816 100644 --- a/src/config/rcxml.c +++ b/src/config/rcxml.c @@ -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