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>
|
||||
```
|
||||
|
||||
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>
|
||||
<default/>
|
||||
<context name="Frame">
|
||||
<mousebind button="A-Left" action="Press"/>
|
||||
<mousebind button="A-Left" action="Drag"/>
|
||||
<mousebind button="W-Left" action="Press"/>
|
||||
<mousebind button="W-Left" action="Drag"/>
|
||||
</context>
|
||||
</mouse>
|
||||
```
|
||||
|
|
|
|||
|
|
@ -355,18 +355,18 @@
|
|||
<doubleClickTime>500</doubleClickTime>
|
||||
|
||||
<context name="Frame">
|
||||
<mousebind button="A-Left" action="Press">
|
||||
<mousebind button="W-Left" action="Press">
|
||||
<action name="Focus" />
|
||||
<action name="Raise" />
|
||||
</mousebind>
|
||||
<mousebind button="A-Left" action="Drag">
|
||||
<mousebind button="W-Left" action="Drag">
|
||||
<action name="Move" />
|
||||
</mousebind>
|
||||
<mousebind button="A-Right" action="Press">
|
||||
<mousebind button="W-Right" action="Press">
|
||||
<action name="Focus" />
|
||||
<action name="Raise" />
|
||||
</mousebind>
|
||||
<mousebind button="A-Right" action="Drag">
|
||||
<mousebind button="W-Right" action="Drag">
|
||||
<action name="Resize" />
|
||||
</mousebind>
|
||||
</context>
|
||||
|
|
|
|||
|
|
@ -184,32 +184,32 @@ static struct mouse_combos {
|
|||
.action = "Resize",
|
||||
}, {
|
||||
.context = "Frame",
|
||||
.button = "A-Left",
|
||||
.button = "W-Left",
|
||||
.event = "Press",
|
||||
.action = "Focus",
|
||||
}, {
|
||||
.context = "Frame",
|
||||
.button = "A-Left",
|
||||
.button = "W-Left",
|
||||
.event = "Press",
|
||||
.action = "Raise",
|
||||
}, {
|
||||
.context = "Frame",
|
||||
.button = "A-Left",
|
||||
.button = "W-Left",
|
||||
.event = "Drag",
|
||||
.action = "Move",
|
||||
}, {
|
||||
.context = "Frame",
|
||||
.button = "A-Right",
|
||||
.button = "W-Right",
|
||||
.event = "Press",
|
||||
.action = "Focus",
|
||||
}, {
|
||||
.context = "Frame",
|
||||
.button = "A-Right",
|
||||
.button = "W-Right",
|
||||
.event = "Press",
|
||||
.action = "Raise",
|
||||
}, {
|
||||
.context = "Frame",
|
||||
.button = "A-Right",
|
||||
.button = "W-Right",
|
||||
.event = "Drag",
|
||||
.action = "Resize",
|
||||
}, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue