1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

Make bouncing respect DisableAnimations

This commit is contained in:
Brad Jorsch
2010-09-15 22:13:25 -04:00
committed by Carlos R. Mafra
parent 5afe745c01
commit ee69b6207a

View File

@@ -386,7 +386,7 @@ static int bounceDirection(WAppIcon *aicon)
void wAppBounce(WApplication *wapp) void wAppBounce(WApplication *wapp)
{ {
if (wapp->app_icon && !wapp->flags.bouncing) { if (!wPreferences.no_animations && wapp->app_icon && !wapp->flags.bouncing) {
++wapp->refcount; ++wapp->refcount;
wapp->flags.bouncing = 1; wapp->flags.bouncing = 1;