switcherPopup: Add a timestamp argument to _finish()

And use it elsewhere.

https://bugzilla.gnome.org/show_bug.cgi?id=689653
This commit is contained in:
Jasper St. Pierre
2012-12-04 13:45:52 -05:00
parent a43ee41b0b
commit 7ff7ced504
3 changed files with 12 additions and 12 deletions

View File

@ -261,7 +261,7 @@ const AppSwitcherPopup = new Lang.Class({
this._select(this._selectedIndex, n);
},
_finish : function() {
_finish : function(timestamp) {
this.parent();
let appIcon = this._items[this._selectedIndex];
@ -270,7 +270,7 @@ const AppSwitcherPopup = new Lang.Class({
window = appIcon.cachedWindows[this._currentWindow];
else
window = null;
appIcon.app.activate_window(window, global.get_current_time());
appIcon.app.activate_window(window, timestamp);
},
_onDestroy : function() {