rcxml: use root-node <labwc_config>

This commit is contained in:
Johan Malm 2021-07-16 17:30:07 +01:00
parent e50bb45890
commit a9b46131ab
2 changed files with 3 additions and 0 deletions

View file

@ -15,6 +15,8 @@ be searched for in the following order:
- ${XDG_CONFIG_HOME:-$HOME/.config}/labwc - ${XDG_CONFIG_HOME:-$HOME/.config}/labwc
- ${XDG_CONFIG_DIRS:-/etc/xdg}/labwc - ${XDG_CONFIG_DIRS:-/etc/xdg}/labwc
Configuration must be wrapped in a <labwc_config> root-node.
# GENERAL # GENERAL
This section contains settings which are not present in Openbox. This section contains settings which are not present in Openbox.

View file

@ -109,6 +109,7 @@ entry(xmlNode *node, char *nodename, char *content)
return; return;
} }
string_truncate_at_pattern(nodename, ".openbox_config"); string_truncate_at_pattern(nodename, ".openbox_config");
string_truncate_at_pattern(nodename, ".labwc_config");
if (getenv("LABWC_DEBUG_CONFIG_NODENAMES")) { if (getenv("LABWC_DEBUG_CONFIG_NODENAMES")) {
if (is_attribute) { if (is_attribute) {