From: tokyo4j Date: Tue, 19 Aug 2025 05:13:35 +0000 (+0900) Subject: rcxml: allow empty values in X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=7041accb56428a5c3dcb8de43352b89b5ad70754;p=proto%2Flabwc.git rcxml: allow empty values in This restores the old behavior prior to a0d2e6a6. --- 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