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

Bouncing appicon effect

When starting application (or opening transient dialog) bounce
its appicon.

Original-patch-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Alexey I. Froloff <raorn@altlinux.org>
This commit is contained in:
Alexey I. Froloff
2010-09-10 20:51:03 +04:00
committed by Carlos R. Mafra
parent 17cc7c3c77
commit a257e16593
4 changed files with 167 additions and 0 deletions

View File

@@ -409,6 +409,15 @@ 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;