diff --git a/navigator.js b/navigator.js index 3ab473b..417444b 100644 --- a/navigator.js +++ b/navigator.js @@ -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); diff --git a/tiling.js b/tiling.js index 3eca0b6..4e8660a 100644 --- a/tiling.js +++ b/tiling.js @@ -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) {