docs/rc.xml: add default mousebind example

This commit is contained in:
Consolatis 2022-12-07 10:52:49 +01:00 committed by Johan Malm
parent 5687ac7e35
commit 13710d1ef6
2 changed files with 18 additions and 0 deletions

View file

@ -51,4 +51,13 @@
</item>
</menu>
<menu id="some-custom-menu">
<item label="Reconfigure">
<action name="Reconfigure" />
</item>
<item label="Exit">
<action name="Exit" />
</item>
</menu>
</openbox_menu>

View file

@ -24,4 +24,13 @@
</keybind>
</keyboard>
<mouse>
<default />
<context name="Root">
<mousebind button="Right" action="Press">
<action name="ShowMenu" menu="some-custom-menu" />
</mousebind>
</context>
</mouse>
</labwc_config>