From b71e66c335fb03b096568afb07039a4fe27f3682 Mon Sep 17 00:00:00 2001 From: fry Date: Mon, 24 Oct 2011 11:39:01 +0200 Subject: [PATCH] window-manager: Fix variable name In _shouldAnimate() _animationBlockCount was referred to as _animationsBlocked, fix this. https://bugzilla.gnome.org/show_bug.cgi?id=662394 --- js/ui/windowManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index 473e9babb..d827b22bb 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -160,7 +160,7 @@ WindowManager.prototype = { }, _shouldAnimate : function(actor) { - if (Main.overview.visible || this._animationsBlocked > 0) + if (Main.overview.visible || this._animationBlockCount > 0) return false; if (actor && (actor.meta_window.get_window_type() != Meta.WindowType.NORMAL)) return false;