]> git.mdlowis.com Git - proto/labwc.git/commitdiff
labwc-menu(5): fix incorrect statement on label attribute
authorJohan Malm <jgm323@gmail.com>
Wed, 16 Apr 2025 19:21:22 +0000 (20:21 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Fri, 18 Apr 2025 13:16:11 +0000 (14:16 +0100)
docs/labwc-menu.5.scd

index f3f3bd9d68ef5b79176d4dc7c641f9c55dd87ce6..075dcd5889a68f5ad91bd466c35b85bfcb0efaab 100644 (file)
@@ -68,7 +68,11 @@ The menu file must be entirely enclosed within <openbox_menu> and
 
 *menu.label*
        The title of the menu, shown in its parent. A label must be given when
-       defining a menu.
+       defining a menu unless it is the topmost menu element.
+
+       Note that Openbox requires a label="" defined for topmost elements too,
+       but for simplicity labwc handles these with or without the label
+       attribute.
 
 *menu.icon*
        An icon to be rendered, shown in its parent. This argument is optional.