]> git.mdlowis.com Git - proto/labwc.git/commit
rcxml.c: support 'to.action' in mousebind
authorJohan Malm <jgm323@gmail.com>
Sun, 30 Oct 2022 14:23:10 +0000 (14:23 +0000)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sun, 30 Oct 2022 18:26:45 +0000 (18:26 +0000)
commite9c3080f7639586b2cbecf7cb6bbf8867846a555
tree91920b301de1f98a31f17cbc3114f4cd6ea0fe21
parent5fb18a7016fcb875f3d73ca49931b8f3c40a7b37
rcxml.c: support 'to.action' in mousebind

...in support to specifying 'left', 'right' and so on with actions
GoToDesktop and SendToDesktop.

For example:

    <mouse>
      <default/>
      <context name="Desktop">
        <mousebind button="Up" action="Scroll">
          <action name="GoToDesktop" to="left"/>
        </mousebind>
        <mousebind button="Down" action="Scroll">
          <action name="GoToDesktop" to="right"/>
        </mousebind>
      </context>
    </mouse>
src/config/rcxml.c