workspacesView: Don't make reactive

Since commit a11f417cd0, scroll events are handled by the SwipeTracker.
There's no other reason for the view to be reactive, so don't make it so.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1333
This commit is contained in:
Florian Müllner 2020-06-25 23:14:47 +02:00
parent ae338af1e8
commit e86e88ea47

View File

@ -21,7 +21,7 @@ var WorkspacesViewBase = GObject.registerClass({
GTypeFlags: GObject.TypeFlags.ABSTRACT, GTypeFlags: GObject.TypeFlags.ABSTRACT,
}, class WorkspacesViewBase extends St.Widget { }, class WorkspacesViewBase extends St.Widget {
_init(monitorIndex) { _init(monitorIndex) {
super._init({ style_class: 'workspaces-view', reactive: true }); super._init({ style_class: 'workspaces-view' });
this.connect('destroy', this._onDestroy.bind(this)); this.connect('destroy', this._onDestroy.bind(this));
global.focus_manager.add_group(this); global.focus_manager.add_group(this);