mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
Drop BOUNCE_APP #ifdef's
Since bouncing respects DisableAnimations option, there's no need in #ifdef's. Acked-by: Carlos R. Mafra <crmafra@gmail.com> Signed-off-by: Alexey I. Froloff <raorn@altlinux.org>
This commit is contained in:
committed by
Carlos R. Mafra
parent
1194889c95
commit
8e0ef4766d
@@ -253,8 +253,6 @@ void DoWindowBirth(WWindow *wwin)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef BOUNCE_APP
|
||||
|
||||
#define BOUNCE_HZ 25
|
||||
#define BOUNCE_DELAY (1000/BOUNCE_HZ)
|
||||
#define BOUNCE_HEIGHT 24
|
||||
@@ -402,9 +400,3 @@ void wAppBounce(WApplication *wapp)
|
||||
data->timer = WMAddPersistentTimerHandler(BOUNCE_DELAY, doAppBounce, data);
|
||||
}
|
||||
}
|
||||
|
||||
#else
|
||||
void wAppBounce(WApplication *wapp)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user