mirror of
https://github.com/labwc/labwc.git
synced 2026-02-18 22:05:32 -05:00
docs/rc.xml: add default mousebind example
This commit is contained in:
parent
5687ac7e35
commit
13710d1ef6
2 changed files with 18 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue