]> git.mdlowis.com Git - proto/labwc.git/commit
config: support <mouse><default />
authorJohan Malm <jgm323@gmail.com>
Fri, 22 Apr 2022 16:52:01 +0000 (17:52 +0100)
committerJohan Malm <jgm323@gmail.com>
Fri, 22 Apr 2022 16:52:01 +0000 (17:52 +0100)
commit3d337857b7b0edb76083b4e6a7e15abfb288182a
treeaa458c82cc81f52dcf8176b5d326f4c6f758361d
parentedc5338af4adaa3aab1c1f657e1adb50318c6e05
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>
docs/labwc-config.5.scd
src/config/rcxml.c
src/cursor.c