]> git.mdlowis.com Git - proto/labwc.git/commitdiff
labwc-actions(5): add missing position option to ShowMenu
authorJohan Malm <jgm323@gmail.com>
Sun, 8 Dec 2024 17:24:32 +0000 (17:24 +0000)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Sun, 15 Dec 2024 00:07:24 +0000 (01:07 +0100)
docs/labwc-actions.5.scd

index d008260710b92e88d4f65c69bd0ed5c01df42d15..bc9929b92fd9150850a37856cf16d20757300913 100644 (file)
@@ -124,9 +124,20 @@ Actions are used in menus and keyboard/mouse bindings.
 *<action name="Reconfigure" />*
        Re-load configuration and theme files.
 
-*<action name="ShowMenu" menu="value" atCursor="yes" />*
+*<action name="ShowMenu" menu="root-menu"/>*
+
        Show a menu.
 
+```
+<action name="ShowMenu" menu="MENU">
+  <atCursor>yes|no</atCursor>
+  <position>
+    <x>X</x>
+    <y>Y</y>
+  </position>
+</action>
+```
+
        *menu* The name of the menu to show. The menus "root-menu",
        "client-menu", "client-send-to-menu" and "client-list-combined-menu"
        are guaranteed to exist, but others may be defined explicitly.