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:
Johan Malm 2025-06-13 19:42:43 +01:00 committed by Johan Malm
parent e62f403f56
commit fda63058b2
3 changed files with 13 additions and 13 deletions

View file

@ -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>
``` ```

View file

@ -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>

View file

@ -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",
}, { }, {