[gnome-shell] windowManager: Remove (un)blockAnimations()
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] windowManager: Remove (un)blockAnimations()
- Date: Wed, 28 May 2014 20:04:54 +0000 (UTC)
commit 2b365627ede5cf0ae9e786f9d4b1446fee42991a
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Apr 24 12:11:36 2014 +0200
windowManager: Remove (un)blockAnimations()
They are no longer used, kill them.
js/ui/windowManager.js | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
---
diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js
index 401db75..623619d 100644
--- a/js/ui/windowManager.js
+++ b/js/ui/windowManager.js
@@ -464,8 +464,6 @@ const WindowManager = new Lang.Class({
this._dimmedWindows = [];
- this._animationBlockCount = 0;
-
this._allowedKeybindings = {};
this._switchData = null;
@@ -708,16 +706,8 @@ const WindowManager = new Lang.Class({
this._allowedKeybindings[name] = modes;
},
- blockAnimations: function() {
- this._animationBlockCount++;
- },
-
- unblockAnimations: function() {
- this._animationBlockCount = Math.max(0, this._animationBlockCount - 1);
- },
-
_shouldAnimate: function() {
- return !(Main.overview.visible || this._animationBlockCount > 0);
+ return !Main.overview.visible;
},
_shouldAnimateActor: function(actor) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]