[appDisplay] Switch to using global.get_current_time()
Main.currentTime() moved into ShellGlobal.
This commit is contained in:
parent
44712c274e
commit
44cc42484f
@ -492,7 +492,7 @@ AppWellIcon.prototype = {
|
|||||||
|
|
||||||
activateMostRecentWindow: function () {
|
activateMostRecentWindow: function () {
|
||||||
let mostRecentWindow = this.app.get_windows()[0];
|
let mostRecentWindow = this.app.get_windows()[0];
|
||||||
Main.overview.activateWindow(mostRecentWindow, Main.currentTime());
|
Main.overview.activateWindow(mostRecentWindow, global.get_current_time());
|
||||||
},
|
},
|
||||||
|
|
||||||
highlightWindow: function(metaWindow) {
|
highlightWindow: function(metaWindow) {
|
||||||
@ -504,7 +504,7 @@ AppWellIcon.prototype = {
|
|||||||
activateWindow: function(metaWindow) {
|
activateWindow: function(metaWindow) {
|
||||||
if (metaWindow) {
|
if (metaWindow) {
|
||||||
this._didActivateWindow = true;
|
this._didActivateWindow = true;
|
||||||
Main.overview.activateWindow(metaWindow, Main.currentTime());
|
Main.overview.activateWindow(metaWindow, global.get_current_time());
|
||||||
} else
|
} else
|
||||||
Main.overview.hide();
|
Main.overview.hide();
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user