From ee69b6207ad9e0ef6f33dad89930fe437d8f3c31 Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Wed, 15 Sep 2010 22:13:25 -0400 Subject: [PATCH] Make bouncing respect DisableAnimations --- src/superfluous.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/superfluous.c b/src/superfluous.c index 04db09e2..75652f4a 100644 --- a/src/superfluous.c +++ b/src/superfluous.c @@ -386,7 +386,7 @@ static int bounceDirection(WAppIcon *aicon) void wAppBounce(WApplication *wapp) { - if (wapp->app_icon && !wapp->flags.bouncing) { + if (!wPreferences.no_animations && wapp->app_icon && !wapp->flags.bouncing) { ++wapp->refcount; wapp->flags.bouncing = 1;