[gnome-shell] switcherPopup: Use correct scroll-direction property



commit 023859ee4bb2e0e1521d3cd668ddc3b79873c295
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Wed Jan 15 17:04:07 2020 +0100

    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 f9888d4f5e..23d74ff39b 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;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]