Merge branch 'window-attention-fix' into 'main'

Fix window attention notification

Closes #6236

See merge request GNOME/gnome-shell!2603
This commit is contained in:
msizanoen1 2024-06-29 17:35:32 +00:00
commit eab28bc638

View file

@ -88,6 +88,11 @@ class WindowAttentionSource extends MessageTray.Source {
}
open() {
// Make sure everything is settled before activating the window to
// avoid interference from the window object's signal handlers while
// the notification is still active.
this.destroy();
Main.activateWindow(this._window);
}
});