docs/rc.xml.all: only declare one 'Root' context

Multiple <mousebind> can exist within one <context>, so let's keep it
clean.
This commit is contained in:
Johan Malm 2021-12-29 14:20:00 +00:00
parent c797dbe189
commit f292998399
2 changed files with 7 additions and 6 deletions

View file

@ -109,7 +109,10 @@ Configuration must be wrapped in a <labwc_config> root-node.
*<mouse><doubleClickTime>*
Set double click time in milliseconds. Default is 500.
*<mouse><context name=""><mousebind button="" action="">*
*<mouse><context name=""><mousebind button=""><action>*
Multiple *<mousebind>* can exist within one *<context>*; and multiple
*<action>* can exist within one *<mousebind>*
Define a mouse binding. Supported context-names include:
- TitleBar: The area where the title of the window is shown.
- Title: The title of the window itself.

View file

@ -106,7 +106,9 @@
</keyboard>
<!--
The following actions are not supported: "Unshade", "Drag"
Multiple <mousebind> can exist within one <context>
Multiple <actions> can exist within one <mousebind>
The following openbox-actions are not supported: "Unshade" and "Drag"
-->
<mouse>
@ -219,13 +221,9 @@
<mousebind button="Left" action="Press">
<action name="ShowMenu"><menu>root-menu</menu></action>
</mousebind>
</context>
<context name="Root">
<mousebind button="Right" action="Press">
<action name="ShowMenu"><menu>root-menu</menu></action>
</mousebind>
</context>
<context name="Root">
<mousebind button="Middle" action="Press">
<action name="ShowMenu"><menu>root-menu</menu></action>
</mousebind>