From a9b46131abdac2c604b7e1e5bccad1029a294e4e Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Fri, 16 Jul 2021 17:30:07 +0100 Subject: [PATCH] rcxml: use root-node --- docs/labwc-config.5.scd | 2 ++ src/config/rcxml.c | 1 + 2 files changed, 3 insertions(+) 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) { -- 2.52.0