[gnome-shell/gbsneto/40-stuff: 49/68] workspacesView/workspacesDisplay: Make it reactive




commit e67b7cf09ce8419a67793c7071a61db73b38277a
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Jan 4 16:25:15 2021 -0300

    workspacesView/workspacesDisplay: Make it reactive
    
    We want workspaces to consume input from whatever is underneath it, so
    make WorkspacesDisplay reactive and prevent scroll event from leaking
    to the app grid.

 js/ui/workspacesView.js | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js
index f9bfda1680..3e9c1dcdcd 100644
--- a/js/ui/workspacesView.js
+++ b/js/ui/workspacesView.js
@@ -487,6 +487,7 @@ var WorkspacesDisplay = GObject.registerClass(
 class WorkspacesDisplay extends St.Widget {
     _init(scrollAdjustment, overviewAdjustment) {
         super._init({
+            reactive: true,
             visible: false,
             y_expand: true,
             layout_manager: new Clutter.BinLayout(),


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