mirror of
https://github.com/labwc/labwc.git
synced 2026-02-09 10:07:31 -05:00
mousebindings: change default focus and raise to press from drag.
This raises the window without having to drag it.
This commit is contained in:
parent
f8e1ab2285
commit
a893607a0e
2 changed files with 15 additions and 9 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue