From 09af4433b0b182cf01eed751022d8fddcf15d88f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 14 Mar 2017 16:20:36 +0100 Subject: [PATCH] windowMenu: Remove left-over variable --- js/ui/windowMenu.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/ui/windowMenu.js b/js/ui/windowMenu.js index 5cd6802e6..4e2a18b5b 100644 --- a/js/ui/windowMenu.js +++ b/js/ui/windowMenu.js @@ -97,8 +97,6 @@ const WindowMenu = new Lang.Class({ if (window.is_always_on_all_workspaces()) item.setSensitive(false); - let nWorkspaces = global.screen.n_workspaces; - if (!isSticky) { let workspace = window.get_workspace(); if (workspace != workspace.get_neighbor(Meta.MotionDirection.LEFT)) {