From b13cb4dda4b1b648f7fddbcbc6130a93c3d5bffb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20J=C3=B8rgen=20Br=C3=B8nner?= Date: Mon, 25 Jun 2018 20:26:16 +0200 Subject: [PATCH] Minor cleanup --- navigator.js | 2 +- tiling.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) 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) {