mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
config: use Super modifier instead of Alt for default mousebinds
...A-Left and A-Right (for move and resize) to avoid interfering with some clients like CAD programs and games.
This commit is contained in:
parent
e62f403f56
commit
fda63058b2
3 changed files with 13 additions and 13 deletions
|
|
@ -803,14 +803,14 @@ extending outward from the snapped edge.
|
||||||
</labwc_config>
|
</labwc_config>
|
||||||
```
|
```
|
||||||
|
|
||||||
Example to un-bind the default alt + left-button-press to move window:
|
Example to un-bind the default Super + left-button-press to move window:
|
||||||
|
|
||||||
```
|
```
|
||||||
<mouse>
|
<mouse>
|
||||||
<default/>
|
<default/>
|
||||||
<context name="Frame">
|
<context name="Frame">
|
||||||
<mousebind button="A-Left" action="Press"/>
|
<mousebind button="W-Left" action="Press"/>
|
||||||
<mousebind button="A-Left" action="Drag"/>
|
<mousebind button="W-Left" action="Drag"/>
|
||||||
</context>
|
</context>
|
||||||
</mouse>
|
</mouse>
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -355,18 +355,18 @@
|
||||||
<doubleClickTime>500</doubleClickTime>
|
<doubleClickTime>500</doubleClickTime>
|
||||||
|
|
||||||
<context name="Frame">
|
<context name="Frame">
|
||||||
<mousebind button="A-Left" action="Press">
|
<mousebind button="W-Left" action="Press">
|
||||||
<action name="Focus" />
|
<action name="Focus" />
|
||||||
<action name="Raise" />
|
<action name="Raise" />
|
||||||
</mousebind>
|
</mousebind>
|
||||||
<mousebind button="A-Left" action="Drag">
|
<mousebind button="W-Left" action="Drag">
|
||||||
<action name="Move" />
|
<action name="Move" />
|
||||||
</mousebind>
|
</mousebind>
|
||||||
<mousebind button="A-Right" action="Press">
|
<mousebind button="W-Right" action="Press">
|
||||||
<action name="Focus" />
|
<action name="Focus" />
|
||||||
<action name="Raise" />
|
<action name="Raise" />
|
||||||
</mousebind>
|
</mousebind>
|
||||||
<mousebind button="A-Right" action="Drag">
|
<mousebind button="W-Right" action="Drag">
|
||||||
<action name="Resize" />
|
<action name="Resize" />
|
||||||
</mousebind>
|
</mousebind>
|
||||||
</context>
|
</context>
|
||||||
|
|
|
||||||
|
|
@ -184,32 +184,32 @@ static struct mouse_combos {
|
||||||
.action = "Resize",
|
.action = "Resize",
|
||||||
}, {
|
}, {
|
||||||
.context = "Frame",
|
.context = "Frame",
|
||||||
.button = "A-Left",
|
.button = "W-Left",
|
||||||
.event = "Press",
|
.event = "Press",
|
||||||
.action = "Focus",
|
.action = "Focus",
|
||||||
}, {
|
}, {
|
||||||
.context = "Frame",
|
.context = "Frame",
|
||||||
.button = "A-Left",
|
.button = "W-Left",
|
||||||
.event = "Press",
|
.event = "Press",
|
||||||
.action = "Raise",
|
.action = "Raise",
|
||||||
}, {
|
}, {
|
||||||
.context = "Frame",
|
.context = "Frame",
|
||||||
.button = "A-Left",
|
.button = "W-Left",
|
||||||
.event = "Drag",
|
.event = "Drag",
|
||||||
.action = "Move",
|
.action = "Move",
|
||||||
}, {
|
}, {
|
||||||
.context = "Frame",
|
.context = "Frame",
|
||||||
.button = "A-Right",
|
.button = "W-Right",
|
||||||
.event = "Press",
|
.event = "Press",
|
||||||
.action = "Focus",
|
.action = "Focus",
|
||||||
}, {
|
}, {
|
||||||
.context = "Frame",
|
.context = "Frame",
|
||||||
.button = "A-Right",
|
.button = "W-Right",
|
||||||
.event = "Press",
|
.event = "Press",
|
||||||
.action = "Raise",
|
.action = "Raise",
|
||||||
}, {
|
}, {
|
||||||
.context = "Frame",
|
.context = "Frame",
|
||||||
.button = "A-Right",
|
.button = "W-Right",
|
||||||
.event = "Drag",
|
.event = "Drag",
|
||||||
.action = "Resize",
|
.action = "Resize",
|
||||||
}, {
|
}, {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue