mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
fdoNotificationDaemon: Show banner for resident notification when app has focus
This drops an undocumented behavior that was introduced for media players (they now use MPRIS anyways).
This commit is contained in:
parent
6055d49802
commit
37c3ce5060
1 changed files with 0 additions and 6 deletions
|
|
@ -357,12 +357,6 @@ class FdoNotificationDaemonSource extends MessageTray.Source {
|
|||
this.notify('icon');
|
||||
}
|
||||
|
||||
let tracker = Shell.WindowTracker.get_default();
|
||||
// Acknowledge notifications that are resident and their app has the
|
||||
// current focus so that we don't show a banner.
|
||||
if (notification.resident && this.app && tracker.focus_app === this.app)
|
||||
notification.acknowledged = true;
|
||||
|
||||
this.addNotification(notification);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue