mirror of
https://github.com/labwc/labwc.git
synced 2026-03-14 05:33:52 -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">
|
<mousebind button="Middle" action="Press">
|
||||||
<action name="ShowMenu"><menu>root-menu</menu></action>
|
<action name="ShowMenu"><menu>root-menu</menu></action>
|
||||||
</mousebind>
|
</mousebind>
|
||||||
|
<mousebind button="Up" action="Scroll">
|
||||||
|
<action name="GoToDesktop" to="left"/>
|
||||||
|
</mousebind>
|
||||||
|
<mousebind button="Down" action="Scroll">
|
||||||
|
<action name="GoToDesktop" to="right"/>
|
||||||
|
</mousebind>
|
||||||
</context>
|
</context>
|
||||||
|
|
||||||
</mouse>
|
</mouse>
|
||||||
|
|
|
||||||
|
|
@ -591,6 +591,8 @@ static struct mouse_combos {
|
||||||
{ "Root", "Left", "Press", "ShowMenu", "root-menu"},
|
{ "Root", "Left", "Press", "ShowMenu", "root-menu"},
|
||||||
{ "Root", "Right", "Press", "ShowMenu", "root-menu"},
|
{ "Root", "Right", "Press", "ShowMenu", "root-menu"},
|
||||||
{ "Root", "Middle", "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", "Focus", NULL},
|
||||||
{ "Client", "Left", "Press", "Raise", NULL},
|
{ "Client", "Left", "Press", "Raise", NULL},
|
||||||
{ "Client", "Right", "Press", "Focus", NULL},
|
{ "Client", "Right", "Press", "Focus", NULL},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue