]> git.mdlowis.com Git - proto/labwc.git/commitdiff
cycle: some minor updates to documentation and deprecation warnings
authortokyo4j <hrak1529@gmail.com>
Tue, 2 Dec 2025 15:36:30 +0000 (00:36 +0900)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 2 Dec 2025 16:09:54 +0000 (17:09 +0100)
docs/labwc-config.5.scd
src/config/rcxml.c

index 9b0f8291dde4ec647cf757083037d92bfe0b87e9..d772edb3a8c0e3b0afe74a2d90c49a0d119addd2 100644 (file)
@@ -363,7 +363,7 @@ this is for compatibility with Openbox.
        *unshade* [yes|no] Temporarily unshade windows when switching between
        them and permanently unshade on the final selection. Default is yes.
 
-*<osd show="" style="" output="" thumbnailLabelFormat="" />*
+*<windowSwitcher><osd show="" style="" output="" thumbnailLabelFormat="" />*
        *show* [yes|no] Draw the OnScreenDisplay when switching between
        windows. Default is yes.
 
index dc11b1c8f3e8ed8a3d591f6b518f54ab0b7b5b48..ed51e20de11f15146fbbce88d2465739f96d0d22 100644 (file)
@@ -1235,7 +1235,7 @@ entry(xmlNode *node, char *nodename, char *content)
        } else if (!strcasecmp(nodename, "show.windowSwitcher")) {
                set_bool(content, &rc.window_switcher.show);
                wlr_log(WLR_ERROR, "<windowSwitcher show=\"\" /> is deprecated."
-                       " Use <osd show=\"\" />");
+                       " Use <windowSwitcher><osd show=\"\" />");
        } else if (!strcasecmp(nodename, "style.windowSwitcher")) {
                if (!strcasecmp(content, "classic")) {
                        rc.window_switcher.style = CYCLE_OSD_STYLE_CLASSIC;
@@ -1243,7 +1243,7 @@ entry(xmlNode *node, char *nodename, char *content)
                        rc.window_switcher.style = CYCLE_OSD_STYLE_THUMBNAIL;
                }
                wlr_log(WLR_ERROR, "<windowSwitcher style=\"\" /> is deprecated."
-                       " Use <osd style=\"\" />");
+                       " Use <windowSwitcher><osd style=\"\" />");
 
        } else if (!strcasecmp(nodename, "preview.windowSwitcher")) {
                set_bool(content, &rc.window_switcher.preview);