From: Arnaud Vallette d'Osia Date: Sun, 6 Nov 2022 20:13:57 +0000 (+0100) Subject: Scroll-Bindings: Add default config X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=209e09a1f6b1fe24a0b04d28756eedeaf43e3387;p=proto%2Flabwc.git Scroll-Bindings: Add default config By default we switch workspaces when scrolling on the desktop to match the Openbox behavior. --- diff --git a/docs/rc.xml.all b/docs/rc.xml.all index c3363404..f7c1a24b 100644 --- a/docs/rc.xml.all +++ b/docs/rc.xml.all @@ -301,6 +301,12 @@ root-menu + + + + + + diff --git a/src/config/rcxml.c b/src/config/rcxml.c index cf839304..7bf511be 100644 --- a/src/config/rcxml.c +++ b/src/config/rcxml.c @@ -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},