Howdy,
I’m new here, and just trying to figure out how this all works, so please excuse me if I say something very incorrect.
To my understanding, Mutter is currently handling the scroll events (via clutter_event_get_scroll_delta
in clutter/clutter-event.c
. Would it not make sense if mutter handled this? Or, given gnome-shell is a plugin for mutter, can it not override the default mutter scroll event handler with this functionality?
Side question, can mutter load multiple plugins, or is it restricted to one at a time?
I’ve built mutter with a very simple hack into clutter-events.c where I multiply the delta with a float and it’s behaving exactly how I want it to, but it feels very wrong like that. I was thinking about adding a gsetting that could be tweaked at runtime, but it feels this should be hosted under org.gnome.desktop.peripherals.touchpad
instead.
Thanks and apologies if none of this makes sense!