mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
config: support <mouse><default />
This loads default mousebinds and provides a way to keep config files
simpler whilst allowing user specific binds.
Note that if no rc.xml is found, or if no <mouse><mousebind> entries
exist, the same default mousebinds will be loaded even if the <default />
element is not provided.
Example usage:
<mouse>
<default />
<context name="Root">
<mousebind button="Right" action="Press">
<action name="Execute" command="my-menu-application" />
</mousebind>
</context>
</mouse>
This commit is contained in:
parent
edc5338af4
commit
3d337857b7
3 changed files with 13 additions and 1 deletions
|
|
@ -160,6 +160,13 @@ Configuration must be wrapped in a <labwc_config> root-node.
|
|||
- DoubleClick: Two presses within the doubleClickTime.
|
||||
- Drag: Pressing the button within the context, then moving the cursor
|
||||
|
||||
*<mouse><default />*
|
||||
Load default mousebinds. This is an addition to the openbox
|
||||
specification and provides a way to keep config files simpler whilst
|
||||
allowing user specific binds. Note that if no rc.xml is found, or if no
|
||||
<mouse><mousebind> entries exist, the same default mousebinds will be
|
||||
loaded even if the <default /> element is not provided.
|
||||
|
||||
# LIBINPUT
|
||||
|
||||
*<libinput><device category="">*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue