notificationDaemon: Raise the app when clicking on a notification, not the MRU window
https://bugzilla.gnome.org/show_bug.cgi?id=709866
This commit is contained in:
parent
766ef367fb
commit
0892065649
@ -777,11 +777,8 @@ const Source = new Lang.Class({
|
|||||||
if (this.app == null)
|
if (this.app == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
let windows = this.app.get_windows();
|
this.app.activate();
|
||||||
if (windows.length > 0) {
|
Main.overview.hide();
|
||||||
let mostRecentWindow = windows[0];
|
|
||||||
Main.activateWindow(mostRecentWindow);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
destroy: function() {
|
destroy: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user