mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
Scroll-Bindings: Add default config
By default we switch workspaces when scrolling on the desktop to match the Openbox behavior.
This commit is contained in:
parent
063a26ae9d
commit
209e09a1f6
2 changed files with 8 additions and 0 deletions
|
|
@ -301,6 +301,12 @@
|
|||
<mousebind button="Middle" action="Press">
|
||||
<action name="ShowMenu"><menu>root-menu</menu></action>
|
||||
</mousebind>
|
||||
<mousebind button="Up" action="Scroll">
|
||||
<action name="GoToDesktop" to="left"/>
|
||||
</mousebind>
|
||||
<mousebind button="Down" action="Scroll">
|
||||
<action name="GoToDesktop" to="right"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
|
||||
</mouse>
|
||||
|
|
|
|||
|
|
@ -591,6 +591,8 @@ static struct mouse_combos {
|
|||
{ "Root", "Left", "Press", "ShowMenu", "root-menu"},
|
||||
{ "Root", "Right", "Press", "ShowMenu", "root-menu"},
|
||||
{ "Root", "Middle", "Press", "ShowMenu", "root-menu"},
|
||||
{ "Root", "Up", "Scroll", "GoToDesktop", "left"},
|
||||
{ "Root", "Down", "Scroll", "GoToDesktop", "right"},
|
||||
{ "Client", "Left", "Press", "Focus", NULL},
|
||||
{ "Client", "Left", "Press", "Raise", NULL},
|
||||
{ "Client", "Right", "Press", "Focus", NULL},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue