From 0501f0ac9ebb85296d016175e162d66d08e52e1c Mon Sep 17 00:00:00 2001 From: elviosak <33790211+elviosak@users.noreply.github.com> Date: Sun, 9 Nov 2025 07:20:08 -0300 Subject: [PATCH] osd: make empty string "" in thumbnailLabelFormat to not show any text (#3196) --- src/config/rcxml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/rcxml.c b/src/config/rcxml.c index 1ea557b3..1acdd825 100644 --- a/src/config/rcxml.c +++ b/src/config/rcxml.c @@ -1068,6 +1068,8 @@ entry(xmlNode *node, char *nodename, char *content) load_default_mouse_bindings(); } else if (!strcasecmp(nodename, "prefix.desktops")) { xstrdup_replace(rc.workspace_config.prefix, content); + } else if (!strcasecmp(nodename, "thumbnailLabelFormat.windowSwitcher")) { + xstrdup_replace(rc.window_switcher.thumbnail_label_format, content); } else if (!lab_xml_node_is_leaf(node)) { /* parse children of nested nodes other than above */ @@ -1208,8 +1210,6 @@ entry(xmlNode *node, char *nodename, char *content) } else if (!strcasecmp(content, "thumbnail")) { rc.window_switcher.style = WINDOW_SWITCHER_THUMBNAIL; } - } else if (!strcasecmp(nodename, "thumbnailLabelFormat.windowSwitcher")) { - xstrdup_replace(rc.window_switcher.thumbnail_label_format, content); } else if (!strcasecmp(nodename, "preview.windowSwitcher")) { set_bool(content, &rc.window_switcher.preview); } else if (!strcasecmp(nodename, "outlines.windowSwitcher")) {