windowMenu: Remove left-over variable

This commit is contained in:
Florian Müllner 2017-03-14 16:20:36 +01:00
parent 50df3084f7
commit 09af4433b0

View File

@ -97,8 +97,6 @@ const WindowMenu = new Lang.Class({
if (window.is_always_on_all_workspaces()) if (window.is_always_on_all_workspaces())
item.setSensitive(false); item.setSensitive(false);
let nWorkspaces = global.screen.n_workspaces;
if (!isSticky) { if (!isSticky) {
let workspace = window.get_workspace(); let workspace = window.get_workspace();
if (workspace != workspace.get_neighbor(Meta.MotionDirection.LEFT)) { if (workspace != workspace.get_neighbor(Meta.MotionDirection.LEFT)) {