window-list: Complete move to connectObject()
Commit3bfaf6f88aremoved the explicit disconnect, but forgot to use connectObject() to connect the handler. Closes: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/459 Fixes:3bfaf6f8("js: Use connectObject()") Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/281>
This commit is contained in:
@@ -828,8 +828,8 @@ class WindowList extends St.Widget {
|
||||
}, this);
|
||||
|
||||
this._windowSignals = new Map();
|
||||
this._windowCreatedId = global.display.connect(
|
||||
'window-created', (dsp, win) => this._addWindow(win));
|
||||
global.display.connectObject(
|
||||
'window-created', (dsp, win) => this._addWindow(win), this);
|
||||
|
||||
Main.xdndHandler.connectObject(
|
||||
'drag-begin', () => this._monitorDrag(),
|
||||
|
||||
Reference in New Issue
Block a user