Minor cleanup

This commit is contained in:
Ole Jørgen Brønner
2018-06-25 20:26:16 +02:00
parent 9dc591e697
commit b13cb4dda4
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ var PreviewedWindowNavigator = new Lang.Class({
swapArray(this.space, index, targetIndex);
let newX = Tiling.ensureViewport(metaWindow, this.space, true);
Tiling.ensureViewport(metaWindow, this.space, true);
this.windows = this.space.getWindows();
this._selectedIndex = this.windows.indexOf(metaWindow);
-3
View File
@@ -1006,9 +1006,6 @@ function ensureViewport(meta_window, space, force) {
}
updateSelection(space, noAnimate);
// Return x so we can position the minimap
// return selectedFrame.x;
}
function updateSelection(space, noAnimate) {