]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Add default menu descriptions to labwc-menu.5.scd
authorStandreas <standreas@riseup.net>
Fri, 22 Sep 2023 19:10:10 +0000 (21:10 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Tue, 26 Sep 2023 20:08:35 +0000 (21:08 +0100)
docs/labwc-menu.5.scd

index a121930586cfa06297cc834333a1ab77976b2734..9d529551cf8bace0ac51b7527328fa1b28947f26 100644 (file)
@@ -11,7 +11,7 @@ Static menus are built based on content of XML files located at
 
 # SYNTAX
 
-A menu file must be entirely enclosed within <openbox_menu> and
+The menu file must be entirely enclosed within <openbox_menu> and
 </openbox_menu> tags.  Inside these tags, menus are specified as follows:
 
 ```
@@ -38,7 +38,11 @@ A menu file must be entirely enclosed within <openbox_menu> and
 
 *menu.id*
        Each menu must be given an id, which is a unique identifier of the menu.
-       This id is used to refer to the menu in a ShowMenu action.
+       This id is used to refer to the menu in a ShowMenu action. 
+       Default identifiers are "client-menu" for the titlebar context menu and "root-menu" 
+       for the root window context menu. 
+       Available localisation for the default "client-menu" is
+       only shown if no "client-menu" is present in menu.xml.
 
 *menu.label*
        The title of the menu, shown in its parent. A label must be given when