mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 14:08:06 +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
@@ -409,14 +409,12 @@ void wApplicationDestroy(WApplication * wapp)
|
||||
if (wapp->refcount > 0)
|
||||
return;
|
||||
|
||||
#ifdef BOUNCE_APP
|
||||
if (wapp->flags.bouncing) {
|
||||
/* event.c:handleDestroyNotify forced this destroy
|
||||
and thereby overlooked the bounce callback */
|
||||
wapp->refcount = 1;
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
scr = wapp->main_window_desc->screen_ptr;
|
||||
main_window = wapp->main_window;
|
||||
|
||||
Reference in New Issue
Block a user