windowAttentionHandler: Don't destroy on open
The activateWindow() call is expected to focus the window, which already destroys the source. If we then destroy it again explicitly, we get another "invalid access" warning. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/430
This commit is contained in:
parent
5f2bd70690
commit
26e33ff093
@ -101,6 +101,5 @@ var Source = class WindowAttentionSource extends MessageTray.Source {
|
|||||||
|
|
||||||
open() {
|
open() {
|
||||||
Main.activateWindow(this._window);
|
Main.activateWindow(this._window);
|
||||||
this.destroy();
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user