Make bouncing respect DisableAnimations

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