[altTab] Update for renamed ShellApp method
This commit is contained in:
parent
35bf6b0d36
commit
37692513cf
@ -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();
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user