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:
Jasper St. Pierre 2013-10-10 16:28:42 -04:00
parent 766ef367fb
commit 0892065649

View File

@ -777,11 +777,8 @@ const Source = new Lang.Class({
if (this.app == null)
return;
let windows = this.app.get_windows();
if (windows.length > 0) {
let mostRecentWindow = windows[0];
Main.activateWindow(mostRecentWindow);
}
this.app.activate();
Main.overview.hide();
},
destroy: function() {