From 023859ee4bb2e0e1521d3cd668ddc3b79873c295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Wed, 15 Jan 2020 17:04:07 +0100 Subject: [PATCH] switcherPopup: Use correct scroll-direction property The correct property for the scroll-direction with scrolling events is `direction`, no `scroll_direction`. This fixes scrolling in the alt-tab popup, which broke with the actorization changes. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/167 --- js/ui/switcherPopup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/switcherPopup.js b/js/ui/switcherPopup.js index f9888d4f5..23d74ff39 100644 --- a/js/ui/switcherPopup.js +++ b/js/ui/switcherPopup.js @@ -230,7 +230,7 @@ var SwitcherPopup = GObject.registerClass({ vfunc_scroll_event(scrollEvent) { this._disableHover(); - this._scrollHandler(scrollEvent.scroll_direction); + this._scrollHandler(scrollEvent.direction); return Clutter.EVENT_PROPAGATE; }