]> git.mdlowis.com Git - proto/labwc.git/commitdiff
labwc-config(5): add example to unset mousebind
authorJohan Malm <jgm323@gmail.com>
Fri, 6 Jun 2025 21:30:40 +0000 (22:30 +0100)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Fri, 6 Jun 2025 21:46:33 +0000 (23:46 +0200)
docs/labwc-config.5.scd

index 24956f123c6d75c24213b5eaa58b24e6e3908d81..5f700df2d44e5c4ae247f965df50bc234b8dd780 100644 (file)
@@ -779,7 +779,7 @@ extending outward from the snapped edge.
        - Drag: Pressing the button within the context, then moving the cursor.
        - Scroll: Scrolling in specified *direction* in the context.
 
-       Example:
+       Example to resize window on Logo + Shift + ScrollUp:
 
 ```
 <?xml version="1.0"?>
@@ -796,6 +796,18 @@ extending outward from the snapped edge.
   </context>
 </mouse>
 </labwc_config>
+```
+
+       Example to un-bind the default alt + left-button-press to move window:
+
+```
+<mouse>
+  <default/>
+  <context name="Frame">
+    <mousebind button="A-Left" action="Press"/>
+    <mousebind button="A-Left" action="Drag"/>
+  </context>
+</mouse>
 ```
 
 *<mouse><default />*