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:
committed by
Carlos R. Mafra
parent
5afe745c01
commit
ee69b6207a
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user