mousebindings: change default focus and raise to press from drag.

This raises the window without having to drag it.
This commit is contained in:
ARDiDo 2022-01-07 16:13:36 -05:00 committed by Johan Malm
parent f8e1ab2285
commit a893607a0e
2 changed files with 15 additions and 9 deletions

View file

@ -116,14 +116,18 @@
<doubleClickTime>500</doubleClickTime>
<context name="Frame">
<mousebind button="A-Left" action="Drag">
<mousebind button="A-Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="A-Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="A-Right" action="Drag">
<mousebind button="A-Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="A-Right" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
@ -170,9 +174,11 @@
</context>
<context name="TitleBar">
<mousebind button="Left" action="Drag">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="Left" action="DoubleClick">