From: Johan Malm Date: Fri, 16 Jul 2021 16:30:07 +0000 (+0100) Subject: rcxml: use root-node X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=a9b46131abdac2c604b7e1e5bccad1029a294e4e;p=proto%2Flabwc.git rcxml: use root-node --- diff --git a/docs/labwc-config.5.scd b/docs/labwc-config.5.scd index 2de57571..00c7409d 100644 --- a/docs/labwc-config.5.scd +++ b/docs/labwc-config.5.scd @@ -15,6 +15,8 @@ be searched for in the following order: - ${XDG_CONFIG_HOME:-$HOME/.config}/labwc - ${XDG_CONFIG_DIRS:-/etc/xdg}/labwc +Configuration must be wrapped in a root-node. + # GENERAL This section contains settings which are not present in Openbox. diff --git a/src/config/rcxml.c b/src/config/rcxml.c index e9efbe9f..eea56c37 100644 --- a/src/config/rcxml.c +++ b/src/config/rcxml.c @@ -109,6 +109,7 @@ entry(xmlNode *node, char *nodename, char *content) return; } string_truncate_at_pattern(nodename, ".openbox_config"); + string_truncate_at_pattern(nodename, ".labwc_config"); if (getenv("LABWC_DEBUG_CONFIG_NODENAMES")) { if (is_attribute) {