mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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:
commit
eab28bc638
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue