mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04: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">
|
||||
|
|
|
|||
|
|
@ -528,14 +528,14 @@ static struct {
|
|||
{ "TRCorner", "Left", "Drag", "Resize", NULL},
|
||||
{ "BRCorner", "Left", "Drag", "Resize", NULL},
|
||||
{ "BLCorner", "Left", "Drag", "Resize", NULL},
|
||||
{ "Frame", "A-Left", "Drag", "Focus", NULL},
|
||||
{ "Frame", "A-Left", "Drag", "Raise", NULL},
|
||||
{ "Frame", "A-Left", "Press", "Focus", NULL},
|
||||
{ "Frame", "A-Left", "Press", "Raise", NULL},
|
||||
{ "Frame", "A-Left", "Drag", "Move", NULL},
|
||||
{ "Frame", "A-Right", "Drag", "Focus", NULL},
|
||||
{ "Frame", "A-Right", "Drag", "Raise", NULL},
|
||||
{ "Frame", "A-Right", "Press", "Focus", NULL},
|
||||
{ "Frame", "A-Right", "Press", "Raise", NULL},
|
||||
{ "Frame", "A-Right", "Drag", "Resize", NULL},
|
||||
{ "Titlebar", "Left", "Drag", "Focus", NULL},
|
||||
{ "Titlebar", "Left", "Drag", "Raise", NULL},
|
||||
{ "Titlebar", "Left", "Press", "Focus", NULL},
|
||||
{ "Titlebar", "Left", "Press", "Raise", NULL},
|
||||
{ "TitleBar", "Left", "Drag", "Move", NULL },
|
||||
{ "TitleBar", "Left", "DoubleClick", "ToggleMaximize", NULL },
|
||||
{ "Close", "Left", "Click", "Close", NULL },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue