mousebind: update documentation

This commit is contained in:
ARDiDo 2021-11-01 20:43:57 -04:00 committed by Johan Malm
parent 6b948c7106
commit ddf6555557
2 changed files with 26 additions and 1 deletions

View 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

View file

@ -118,6 +118,22 @@
<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>
<!--