Make bouncing respect DisableAnimations

This commit is contained in:
Brad Jorsch
2010-09-17 10:16:19 +02:00
committed by Carlos R. Mafra
parent 5afe745c01
commit ee69b6207a
+1 -1
View File
@@ -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;