labwc-config(5): add example to unset mousebind

This commit is contained in:
Johan Malm 2025-06-06 22:30:40 +01:00 committed by Consolatis
parent 073d8c39c1
commit 6cb34f994c

View 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 />*