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) 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() {