]> git.mdlowis.com Git - proto/labwc.git/commitdiff
docs/rc.xml.all: only declare one 'Root' context
authorJohan Malm <jgm323@gmail.com>
Wed, 29 Dec 2021 14:20:00 +0000 (14:20 +0000)
committerJohan Malm <jgm323@gmail.com>
Wed, 29 Dec 2021 14:20:00 +0000 (14:20 +0000)
Multiple <mousebind> can exist within one <context>, so let's keep it
clean.

docs/labwc-config.5.scd
docs/rc.xml.all

index e40043fc86ddd64f9a6d32471abb8d276e9fe944..135d33927f514824ecf48232fdbfd9f8ed9ebab6 100644 (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.
index 26d35157358586417dfbfa4247051bd9c48a1ebc..0dfb6d41d245ab3c31c834ab962d1d7d704a77bd 100644 (file)
   </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>
 
       <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>