Skip to content

js/ui: Subscribe touchpad gesture handlers to only touchpad events [performance]

Daniel van Vugt requested to merge vanvugt/gnome-shell:touchpad-events into master

The touchpad gesture handlers were receiving all events, all the time. This meant that even mouse movements were getting translated into JavaScript calls and then discarded by the handlers, which wasted CPU.

Now we subscribe the touchpad gesture handlers to only touchpad events.

Prequisite: mutter!1000 (merged)

Closes: mutter#283 (closed)

Edited by Jeff Fortin

Merge request reports