Skip to content

Commit

Permalink
Merge pull request #1503 from tudor-gala/master
Browse files Browse the repository at this point in the history
Fix volume control on scroll for Gnome 40+
  • Loading branch information
charlesg99 authored Oct 31, 2021
2 parents b7213be + e641a90 commit d66dae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,7 @@ var dtpPanel = Utils.defineClass({
Utils.activateSiblingWindow(windows, direction);
} else if (scrollAction === 'CHANGE_VOLUME' && !event.is_pointer_emulated()) {
var proto = Volume.Indicator.prototype;
var func = proto.vfunc_scroll_event || proto._onScrollEvent;
var func = proto._handleScrollEvent || proto.vfunc_scroll_event || proto._onScrollEvent;

func.call(Main.panel.statusArea.aggregateMenu._volume, 0, event);
} else {
Expand Down

0 comments on commit d66dae2

Please sign in to comment.