From ed4553fc7e36175fa160fd50914224da00fb1181 Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Mon, 27 Jan 2025 17:19:20 +0100 Subject: [PATCH] src/menu: add global config for menu.showIcons --- docs/labwc-config.5.scd | 6 ++++++ docs/rc.xml.all | 1 + include/config/rcxml.h | 1 + src/config/rcxml.c | 3 +++ src/menu/menu.c | 3 +-- 5 files changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/labwc-config.5.scd b/docs/labwc-config.5.scd index 8742dd6a..23b5df37 100644 --- a/docs/labwc-config.5.scd +++ b/docs/labwc-config.5.scd @@ -1121,6 +1121,7 @@ situation. ``` 250 + yes ``` @@ -1134,6 +1135,11 @@ situation. option has been exposed for unusual use-cases. It is equivalent to Openbox's ``. Default is 250 ms. +** + Show menu icons based on the `icon` attribute of menu label elements. + Default is yes. Requires libsfdo. If labwc is built without it, no + icons will be shown. + ## MAGNIFIER ``` diff --git a/docs/rc.xml.all b/docs/rc.xml.all index 16f5c212..8ea2710b 100644 --- a/docs/rc.xml.all +++ b/docs/rc.xml.all @@ -676,6 +676,7 @@ 250 + yes