mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
rcxml: allow empty values in <libinput>
This restores the old behavior prior to a0d2e6a6.
This commit is contained in:
parent
b1a8eb7d3a
commit
7041accb56
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue