]> git.mdlowis.com Git - proto/labwc.git/commit
First implemenation of <mouse> in rc.xml
authoralex <alex@compy-sid>
Sun, 29 Aug 2021 18:22:49 +0000 (14:22 -0400)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 1 Sep 2021 06:05:37 +0000 (07:05 +0100)
commitdfdb4e4b0e49034689277f3b29fac12d7c93ae35
treedc8425420417f6d0b56f375feb490758f05b97ba
parent75564d6b8d640c8653e5db82b5a0cba6375194c6
First implemenation of <mouse> in rc.xml

Can successfully parse the following XML and and implement the action:

<mouse>
    <context name="TitleBar">
        <mousebind button="Left" action="DoubleClick">
            <action name="ToggleMaximize"/>
        </mousebind>
    </context>
</mouse>

The XML parsing code for this looks A LOT different than the already
existing XML parsing code. It may have to be reworked
include/config/mousebind.h [new file with mode: 0644]
include/config/rcxml.h
src/config/meson.build
src/config/mousebind.c [new file with mode: 0644]
src/config/rcxml.c
src/cursor.c