diff --git a/js/ui/altTab.js b/js/ui/altTab.js index 654068d40..eeeedc89e 100644 --- a/js/ui/altTab.js +++ b/js/ui/altTab.js @@ -291,7 +291,7 @@ AltTabPopup.prototype = { let appIcon = this._appIcons[n]; let windowIndex = (n == this._currentApp) ? this._currentWindow : 0; let window = appIcon.cachedWindows[windowIndex]; - appIcon.app.focus_window(window, global.get_current_time()); + appIcon.app.activate_window(window, global.get_current_time()); this.destroy(); }, @@ -304,7 +304,7 @@ AltTabPopup.prototype = { _windowActivated : function(thumbnailList, n) { let appIcon = this._appIcons[this._currentApp]; - appIcon.app.focus_window(appIcon.cachedWindows[n]); + appIcon.app.activate_window(appIcon.cachedWindows[n]); this.destroy(); }, @@ -332,7 +332,7 @@ AltTabPopup.prototype = { _finish : function() { let appIcon = this._appIcons[this._currentApp]; let window = appIcon.cachedWindows[this._currentWindow]; - appIcon.app.focus_window(window, global.get_current_time()); + appIcon.app.activate_window(window, global.get_current_time()); this.destroy(); },