mirror of
https://github.com/labwc/labwc.git
synced 2026-04-10 08:21:07 -04: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>
|
</item>
|
||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
|
<menu id="some-custom-menu">
|
||||||
|
<item label="Reconfigure">
|
||||||
|
<action name="Reconfigure" />
|
||||||
|
</item>
|
||||||
|
<item label="Exit">
|
||||||
|
<action name="Exit" />
|
||||||
|
</item>
|
||||||
|
</menu>
|
||||||
|
|
||||||
</openbox_menu>
|
</openbox_menu>
|
||||||
|
|
|
||||||
|
|
@ -24,4 +24,13 @@
|
||||||
</keybind>
|
</keybind>
|
||||||
</keyboard>
|
</keyboard>
|
||||||
|
|
||||||
|
<mouse>
|
||||||
|
<default />
|
||||||
|
<context name="Root">
|
||||||
|
<mousebind button="Right" action="Press">
|
||||||
|
<action name="ShowMenu" menu="some-custom-menu" />
|
||||||
|
</mousebind>
|
||||||
|
</context>
|
||||||
|
</mouse>
|
||||||
|
|
||||||
</labwc_config>
|
</labwc_config>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue