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