mousebind: support Border context

This new context includes `Top`...`BRCorner` and makes it easier to modify
the mousebinds bound to them.
This commit is contained in:
tokyo4j 2025-09-02 08:32:23 +09:00 committed by Johan Malm
parent b5b257092d
commit 02be24bf59
6 changed files with 10 additions and 72 deletions

View file

@ -375,42 +375,7 @@
</mousebind>
</context>
<context name="Top">
<mousebind button="Left" action="Drag">
<action name="Resize" />
</mousebind>
</context>
<context name="Left">
<mousebind button="Left" action="Drag">
<action name="Resize" />
</mousebind>
</context>
<context name="Right">
<mousebind button="Left" action="Drag">
<action name="Resize" />
</mousebind>
</context>
<context name="Bottom">
<mousebind button="Left" action="Drag">
<action name="Resize" />
</mousebind>
</context>
<context name="TRCorner">
<mousebind button="Left" action="Drag">
<action name="Resize" />
</mousebind>
</context>
<context name="BRCorner">
<mousebind button="Left" action="Drag">
<action name="Resize" />
</mousebind>
</context>
<context name="TLCorner">
<mousebind button="Left" action="Drag">
<action name="Resize" />
</mousebind>
</context>
<context name="BLCorner">
<context name="Border">
<mousebind button="Left" action="Drag">
<action name="Resize" />
</mousebind>