]> git.mdlowis.com Git - proto/labwc.git/commitdiff
mousebind: update documentation
authorARDiDo <90479315+ARDiDo@users.noreply.github.com>
Tue, 2 Nov 2021 00:43:57 +0000 (20:43 -0400)
committerJohan Malm <johanmalm@users.noreply.github.com>
Tue, 2 Nov 2021 18:14:50 +0000 (18:14 +0000)
docs/labwc-config.5.scd
docs/rc.xml.all

index 818a3831001554b0e4eebab2d5733189008aaa11..fcfed2e6535f564e18d6aafb8f7b5153938b71f0 100644 (file)
@@ -111,7 +111,16 @@ Configuration must be wrapped in a <labwc_config> root-node.
 
 *<mouse><context name=""><mousebind button="" action="">*
        Define a mouse binding. Supported context-names include:
-       'TitleBar'.
+       - TitleBar: The area where the title of the window is shown.
+       - Iconify: The button that looks like an underline.
+       - Maximize: The button that looks like a box.
+       - Close: The button that looks like an X.
+
+       Supported mouse actions include:
+       - Press: Pressing the specified button down in the context.
+       - Release: Releasing the specified button in the context.
+       - Click: Pressing and then releasing inside of the the context.
+       - DoubleClick: Two presses within the doubleClickTime.
 
 # LIBINPUT
 
index 092c0b22a0eeb6b9bf3bbb296986cd1ba3141472..226db4b87824145085dbf4ecabd670d47046607a 100644 (file)
         <action name="ToggleMaximize"/>
       </mousebind>
     </context>
+    <context name="Maximize">
+      <mousebind button="Left" action="Click">
+       <action name="ToggleMaximize"/>
+      </mousebind>
+    </context>
+    <context name="Iconify">
+      <mousebind button="left" action="Click">
+        <action name="Iconify"/>
+      </mousebind>
+    </context>
+    <context name="Close">
+      <mousebind button="Left" action="Click">
+        <action name="Close"/>
+      </mousebind>
+    </context>
+
   </mouse>
 
   <!--